changeset 3635:0087dc6b306c libavcodec

10l found by valgrind
author michael
date Sat, 26 Aug 2006 15:24:13 +0000
parents fa4beebb74a6
children 031252e99956
files mpegaudiodec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegaudiodec.c	Sat Aug 26 12:19:05 2006 +0000
+++ b/mpegaudiodec.c	Sat Aug 26 15:24:13 2006 +0000
@@ -1745,6 +1745,7 @@
                 if (get_bits1(&s->gb))
                     v = -v;
                 g->sb_hybrid[s_index+!!y] = v;
+                g->sb_hybrid[s_index+ !y] = 0;
             }
             s_index+=2;
         }