diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-10 16:21:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-11 12:03:30 +0200 |
commit | 37268dcc863eb297e5fdf815beeb397e220781a5 (patch) | |
tree | 6b28e3d478e58907abe871738d5143a0cbb2d03f | |
parent | ea28e742051759520fe716f22e42127c04982ea0 (diff) | |
download | ffmpeg-37268dcc863eb297e5fdf815beeb397e220781a5.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 43b617712a..c56e79b03e 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -820,7 +820,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 |