From d37bb9d8c1201874c6857d43f4208ad6fc3443c9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 26 Aug 2006 15:24:13 +0000 Subject: [PATCH] 10l found by valgrind Originally committed as revision 6099 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegaudiodec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index bb72da2e82..1ffbe63d3e 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -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; }