diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-10 18:21:33 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-10 18:21:33 +0400 |
commit | 8f09957194b8d7a3ea909647e22eaf1389b6f5c4 (patch) | |
tree | ef789adc0e91103935941e90f97ddafd8b1dfd71 /libavcodec/qdm2.c | |
parent | fbe159e85079f1f94a7201dc210b155dba7ff4a6 (diff) |
avcodec/qdm2: initialize sign_bits
Fixes non deterministic output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/qdm2.c')
-rw-r--r-- | libavcodec/qdm2.c | 2 |
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 |