You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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:
@@ -273,7 +273,7 @@ void ff_ac3_apply_rematrixing(AC3EncodeContext *s)
|
|||||||
int nb_coefs;
|
int nb_coefs;
|
||||||
int blk, bnd, i;
|
int blk, bnd, i;
|
||||||
int start, end;
|
int start, end;
|
||||||
uint8_t *flags;
|
uint8_t *flags = NULL;
|
||||||
|
|
||||||
if (!s->rematrixing_enabled)
|
if (!s->rematrixing_enabled)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user