Browse Source

avcodec/qdm2: initialize sign_bits

Fixes non deterministic output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
8f09957194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/qdm2.c

+ 1
- 1
libavcodec/qdm2.c 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


Loading…
Cancel
Save