another silly typo which surprisingly neither valgrind nor cmp of the file output...
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Aug 2006 17:29:31 +0000 (17:29 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Aug 2006 17:29:31 +0000 (17:29 +0000)
Originally committed as revision 6100 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegaudiodec.c

index 1ffbe63..6a305a6 100644 (file)
@@ -1673,7 +1673,7 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g,
         vlc = &huff_vlc[l];
 
         if(!l){
-            memset(&g->sb_hybrid[s_index], 0, sizeof(*g->sb_hybrid)*j);
+            memset(&g->sb_hybrid[s_index], 0, sizeof(*g->sb_hybrid)*2*j);
             s_index += 2*j;
             continue;
         }