10l found by valgrind
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Aug 2006 15:24:13 +0000 (15:24 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Aug 2006 15:24:13 +0000 (15:24 +0000)
Originally committed as revision 6099 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegaudiodec.c

index bb72da2..1ffbe63 100644 (file)
@@ -1745,6 +1745,7 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g,
                 if (get_bits1(&s->gb))
                     v = -v;
                 g->sb_hybrid[s_index+!!y] = v;
+                g->sb_hybrid[s_index+ !y] = 0;
             }
             s_index+=2;
         }