avcodec/qdm2: initialize sign_bits

Fixes non deterministic output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-07-10 16:21:33 +02:00
parent fbe159e850
commit 8f09957194

View File

@ -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