avcodec/qdm2: initialize sign_bits
Fixes non deterministic output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8f09957194
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -768,7 +768,7 @@ static int synthfilt_build_sb_samples (QDM2Context *q, GetBitContext *gb, int le
|
|||||||
float type34_div = 0;
|
float type34_div = 0;
|
||||||
float type34_predictor;
|
float type34_predictor;
|
||||||
float samples[10];
|
float samples[10];
|
||||||
int sign_bits[16];
|
int sign_bits[16] = {0};
|
||||||
|
|
||||||
if (length == 0) {
|
if (length == 0) {
|
||||||
// If no data use noise
|
// If no data use noise
|
||||||
|
Reference in New Issue
Block a user