ff_ac3_apply_rematrixing: set flags to NULL

This makes the code more robust

Related to CID703820
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-11-04 18:47:20 +01:00
parent 74a50e75a8
commit 712287ef45

View File

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