projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dcaf966
)
avcodec/alsdec: Clear MPEG4AudioConfig so that no use of uninitialized memory is...
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 8 Jun 2014 12:30:30 +0000
(14:30 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 8 Jun 2014 12:30:30 +0000
(14:30 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/alsdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/alsdec.c
b/libavcodec/alsdec.c
index
ace6974
..
33d6869
100644
(file)
--- a/
libavcodec/alsdec.c
+++ b/
libavcodec/alsdec.c
@@
-282,7
+282,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;