[Ffmpeg-cvslog] r6073 - trunk/libavcodec/mpegaudiodec.c

Hervé W. H.O.W.aka.V+ffmpeg
Thu Aug 24 14:26:43 CEST 2006


Hi,

On 24/08/06, michael <subversion at mplayerhq.hu> wrote:
> Author: michael
> Date: Thu Aug 24 13:18:41 2006
> New Revision: 6073
>
> Modified:
>   trunk/libavcodec/mpegaudiodec.c
>
> Log:
> avoid a few if(x==0) checks in the inner loops
>
>
> Modified: trunk/libavcodec/mpegaudiodec.c
> ==============================================================================
[...]
> @@ -2375,8 +2390,13 @@
>                 for(k=0;k<4;k++) {
>                     n = lsf_nsf_table[tindex2][tindex][k];
>                     sl = slen[k];
> -                    for(i=0;i<n;i++)
> -                        g->scale_factors[j++] = get_bitsz(&s->gb, sl);
> +                    if(s1){
[...]

Should that be:
> +                    if(sl){
?

-V




More information about the ffmpeg-cvslog mailing list