On Sun, Jun 22, 2008 at 12:30:32PM +0200, superdump wrote:
> Author: superdump
> Date: Sun Jun 22 12:30:31 2008
> New Revision: 2530
> 
> Log:
> Migrate to new static VLC table initialisation
> 
> 
> Modified:
>    aac/aac.c
> 
> Modified: aac/aac.c
> ==============================================================================
> --- aac/aac.c (original)
> +++ aac/aac.c Sun Jun 22 12:30:31 2008
> @@ -801,6 +801,62 @@ static int aac_decode_init(AVCodecContex
>      avccontext->sample_rate = ac->m4ac.sample_rate;
>      avccontext->frame_size  = 1024;
>  
> +    if(!books[0].table)
> +        INIT_VLC_STATIC(&books[0], 6, tmp[0].s/sizeof(tmp[0].a_code[0]),
> +            tmp[0].a_bits, sizeof(tmp[0].a_bits[0]), 
> sizeof(tmp[0].a_bits[0]),
> +            tmp[0].a_code, sizeof(tmp[0].a_code[0]), 
> sizeof(tmp[0].a_code[0]),
> +            144);

what are the if() good for?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to