diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-04 18:47:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-04 19:26:54 +0100 |
commit | 712287ef457767000fdbf62c1d4e105c2d77e5a8 (patch) | |
tree | a1def00dcbdfe71f8e8ffcce0821f36f97e1d388 /libavcodec/ac3enc.c | |
parent | 74a50e75a8954bdbf142a93a7bb022d16d93512f (diff) | |
download | ffmpeg-712287ef457767000fdbf62c1d4e105c2d77e5a8.tar.gz |
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>
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index e5dea46275..9781af59bb 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -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; |