aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-10 16:21:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-10 16:21:33 +0200
commit8f09957194b8d7a3ea909647e22eaf1389b6f5c4 (patch)
treeef789adc0e91103935941e90f97ddafd8b1dfd71 /libavcodec
parentfbe159e85079f1f94a7201dc210b155dba7ff4a6 (diff)
downloadffmpeg-8f09957194b8d7a3ea909647e22eaf1389b6f5c4.tar.gz
avcodec/qdm2: initialize sign_bits
Fixes non deterministic output Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/qdm2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index eef72c525c..37bf0e8c68 100644
--- a/libavcodec/qdm2.c
+++ b/libavcodec/qdm2.c
@@ -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