[Ffmpeg-devel] [PATCH] ac3 decoder

Benjamin Larsson banan
Wed Oct 18 06:34:27 CEST 2006


Justin Ruggles wrote:

> [...]
>
>The solution I've come up with uses ac3_common.c & ac3_common.h for the
>bit allocation routines & table initialization.  The alternative would
>be to either define all the tables as const & set the values instead of
>calculating at runtime or put table inits in both the encoder and
>decoder...unless it would be okay to put the initialization in ac3tab.h
>as static inline (not my favorite choice).  Any advice here?
>
>Thanks,
>Justin
>  
>

Well I would prefer to put all the shareable parts in seperate files 
that can be included from the main files. But it might be an option to 
put both the decoder and encoder in the same file.

MvH
Benjamin Larsson




More information about the ffmpeg-devel mailing list