Commit 712287ef authored by Michael Niedermayer's avatar Michael Niedermayer

ff_ac3_apply_rematrixing: set flags to NULL

This makes the code more robust

Related to CID703820
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 74a50e75
......@@ -273,7 +273,7 @@ void ff_ac3_apply_rematrixing(AC3EncodeContext *s)
int nb_coefs;
int blk, bnd, i;
int start, end;
uint8_t *flags;
uint8_t *flags = NULL;
if (!s->rematrixing_enabled)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment