aboutsummaryrefslogtreecommitdiffstats
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 19:05:23 +0200
commit72c1de649ae92bc720268d406b16f6cdcf9ee36c (patch)
treea021eeb97799e8624862eb9ab1465963310dcec8
parent5e3e67f977a3706f898cc8ebe4f5f97a4dbbea1d (diff)
downloadffmpeg-72c1de649ae92bc720268d406b16f6cdcf9ee36c.tar.gz
avcodec/qdm2: initialize sign_bits
Fixes non deterministic output Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8f09957194b8d7a3ea909647e22eaf1389b6f5c4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/qdm2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index 68a920e137..4c045eb256 100644
--- a/libavcodec/qdm2.c
+++ b/libavcodec/qdm2.c
@@ -768,7 +768,7 @@ static int synthfilt_build_sb_samples (QDM2Context *q, GetBitContext *gb, int le
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