avcodec/qdm2: initialize sign_bits

Fixes non deterministic output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/27/head
Michael Niedermayer 12 years ago
parent fbe159e850
commit 8f09957194
  1. 2
      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

Loading…
Cancel
Save