avcodec/qdm2: initialize sign_bits
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jul 2013 14:21:33 +0000 (16:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jul 2013 14:21:33 +0000 (16:21 +0200)
Fixes non deterministic output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/qdm2.c

index eef72c5..37bf0e8 100644 (file)
@@ -823,7 +823,7 @@ static int synthfilt_build_sb_samples(QDM2Context *q, GetBitContext *gb,
     float type34_div = 0;
     float type34_predictor;
     float samples[10];
-    int sign_bits[16];
+    int sign_bits[16] = {0};
 
     if (length == 0) {
         // If no data use noise