[FFmpeg-devel] E-AC-3 in FFmpeg

Aurelien Jacobs aurel
Fri Nov 2 23:45:46 CET 2007


On Fri, 2 Nov 2007 16:31:51 +0100
Bart?omiej Wo?owiec <b.wolowiec at students.mimuw.edu.pl> wrote:

> Hi,
> During GSoC I wrote E-AC-3 decoder. When I have free time I'll try to send 
> next patches to add the code to FFMpeg SVN. I enclose changes which are 
> needed in ac3dec.c to allow using parts of code in eac3dec.c.
> 
> Index: libavcodec/ac3dec.c
> ===================================================================
> --- libavcodec/ac3dec.c	(wersja 10905)
> +++ libavcodec/ac3dec.c	(kopia robocza)
> @@ -42,24 +42,24 @@
>   * Table of bin locations for rematrixing bands
>   * reference: Section 7.5.2 Rematrixing : Frequency Band Definitions
>   */
> -static const uint8_t rematrix_band_tab[5] = { 13, 25, 37, 61, 253 };
> +static const uint8_t ff_ac3_rematrix_band_tab[5] = { 13, 25, 37, 61, 253 };

Adding a ff_ prefix but keeping the var static seems doubtful...

Aurel




More information about the ffmpeg-devel mailing list