diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-21 22:06:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-21 22:27:17 +0200 |
commit | 1922357e5a05eb5a3e6859097264224d8878fa9c (patch) | |
tree | 0797781a84597233ebb5da86a2eab823ed5e7eee /libavformat | |
parent | 4542615063fbb100864fa499aca8cf4e36a38231 (diff) | |
parent | f22aa6b841dc54fa1dd804303885b1e230a5f629 (diff) | |
download | ffmpeg-1922357e5a05eb5a3e6859097264224d8878fa9c.tar.gz |
Merge commit 'f22aa6b841dc54fa1dd804303885b1e230a5f629'
* commit 'f22aa6b841dc54fa1dd804303885b1e230a5f629':
flvdec: avoid unitialized use of a struct member
See: 396ddcf22d55fa7e735d69eed22a4a4b1649b73c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/flvdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 12d25b20ae..2eaa8cda9f 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -930,6 +930,7 @@ retry_duration: } else { AVCodecContext ctx = {0}; ctx.sample_rate = sample_rate; + ctx.bits_per_coded_sample = bits_per_coded_sample; flv_set_audio_codec(s, st, &ctx, flags & FLV_AUDIO_CODECID_MASK); sample_rate = ctx.sample_rate; } |