]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
another silly typo which surprisingly neither valgrind nor cmp of the file output...
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 26 Aug 2006 17:29:31 +0000 (17:29 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 26 Aug 2006 17:29:31 +0000 (17:29 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6100 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/mpegaudiodec.c

index 1ffbe63d3e8f9624d44921c48cadb67bdf56fea2..6a305a6e9f3e3671bb7142b9388263f9f94a155c 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;
         }