diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-08 14:30:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-23 15:56:15 +0200 |
commit | dad0c9d686a3377cd699907a5e1717f234289be0 (patch) | |
tree | 31d210c77ab2b3c5996bdeceb1c877670e551afb /libavcodec/alsdec.c | |
parent | e173834af8b531b16a5cf367b4ea1f8e1b5fb403 (diff) | |
download | ffmpeg-dad0c9d686a3377cd699907a5e1717f234289be0.tar.gz |
avcodec/alsdec: Clear MPEG4AudioConfig so that no use of uninitialized memory is possible
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6e6bd5481cf42a9765c492c77754d4633092cece)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/alsdec.c')
-rw-r--r-- | libavcodec/alsdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 27d190241c..89cc8a6230 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -280,7 +280,7 @@ static av_cold int read_specific_config(ALSDecContext *ctx) GetBitContext gb; uint64_t ht_size; int i, config_offset; - MPEG4AudioConfig m4ac; + MPEG4AudioConfig m4ac = {0}; ALSSpecificConfig *sconf = &ctx->sconf; AVCodecContext *avctx = ctx->avctx; uint32_t als_id, header_size, trailer_size; |