Browse code

avcodec/qdm2: initialize sign_bits

Fixes non deterministic output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2013/07/10 23:21:33
Showing 1 changed files
... ...
@@ -823,7 +823,7 @@ static int synthfilt_build_sb_samples(QDM2Context *q, GetBitContext *gb,
823 823
     float type34_div = 0;
824 824
     float type34_predictor;
825 825
     float samples[10];
826
-    int sign_bits[16];
826
+    int sign_bits[16] = {0};
827 827
 
828 828
     if (length == 0) {
829 829
         // If no data use noise