summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-08-26 17:29:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-08-26 17:29:31 +0000
commit731d0b1aaac88ff289b59d73ae9d6f24846818a9 (patch)
treeddeda93c532abcbd4774b27a3594f856c08c054d /libavcodec/mpegaudiodec.c
parentd37bb9d8c1201874c6857d43f4208ad6fc3443c9 (diff)
another silly typo which surprisingly neither valgrind nor cmp of the file output cought
Originally committed as revision 6100 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 1ffbe63d3e..6a305a6e9f 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -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;
}