[FFmpeg-devel] [PATCH] support for hardcoded mpegaudiodec tables

Reimar Döffinger Reimar.Doeffinger
Wed Oct 21 17:50:03 CEST 2009


On Wed, Oct 21, 2009 at 05:23:18PM +0200, Michael Niedermayer wrote:
> On Wed, Oct 21, 2009 at 05:04:56PM +0200, Reimar D?ffinger wrote:
> > On Tue, Oct 20, 2009 at 04:17:37PM +0200, Reimar D?ffinger wrote:
> > > this allows hardcoding some of tables in mpegaudiodec.
> > > Here a .h file is used so that these tables can still be static
> > > in both cases.
> > 
> > Any objections?
> 
> yes, it duplicates the code that generates these tables and makes
> changing them harder and more error prone

what is an acceptable way to avoid that to you?
Putting that duplicated part into a header?
Or a separate .c file?



More information about the ffmpeg-devel mailing list