10l typo
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Aug 2006 12:35:53 +0000 (12:35 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Aug 2006 12:35:53 +0000 (12:35 +0000)
Originally committed as revision 6074 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegaudiodec.c

index 61baedc9dbfde604600bdcf9ad24db1502fc6101..e17ee41c5a4aa1dad9261c3787ce4f769afc27a3 100644 (file)
@@ -2390,7 +2390,7 @@ static int mp_decode_layer3(MPADecodeContext *s)
                 for(k=0;k<4;k++) {
                     n = lsf_nsf_table[tindex2][tindex][k];
                     sl = slen[k];
                 for(k=0;k<4;k++) {
                     n = lsf_nsf_table[tindex2][tindex][k];
                     sl = slen[k];
-                    if(s1){
+                    if(sl){
                         for(i=0;i<n;i++)
                             g->scale_factors[j++] = get_bits(&s->gb, sl);
                     }else{
                         for(i=0;i<n;i++)
                             g->scale_factors[j++] = get_bits(&s->gb, sl);
                     }else{