summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-08-26 15:24:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-08-26 15:24:13 +0000
commitd37bb9d8c1201874c6857d43f4208ad6fc3443c9 (patch)
tree8358c19527e275e6473fe6157b6da2fe46c72e2a /libavcodec/mpegaudiodec.c
parent06e7fb82a403b12353cf2e700c122cf39bb8a41a (diff)
10l found by valgrind
Originally committed as revision 6099 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c1
1 files changed, 1 insertions, 0 deletions
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;
}