[Ffmpeg-devel] [PATCH] remove ac3 tables from parser.c

Diego Biurrun diego
Fri Mar 9 15:45:21 CET 2007


On Fri, Mar 09, 2007 at 09:43:02AM -0500, Justin Ruggles wrote:
> 
> Now is a better time for a more complete patch to do this.  The attached
> patch does the same as the last one, but generates the frame size table
> at runtime.  It also does not duplicate the tables in the object files.
> 
> --- libavcodec/parser.c	(revision 8305)
> +++ libavcodec/parser.c	(working copy)
> @@ -22,6 +22,9 @@
>  #include "avcodec.h"
>  #include "mpegvideo.h"
>  #include "mpegaudio.h"
> +#ifdef CONFIG_AC3_PARSER
> +#include "ac3.h"
> +#endif
>  #include "parser.h"

Is this #ifdef necessary?

Diego





More information about the ffmpeg-devel mailing list