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

Justin Ruggles justinruggles
Fri Mar 9 15:52:05 CET 2007


Diego Biurrun wrote:
> 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?

Not really, I guess.  It does no harm without it.  I can apply the patch
without the #ifdef if you prefer.

-Justin




More information about the ffmpeg-devel mailing list