mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-09 16:19:35 +00:00
Merge commit 'f22aa6b841dc54fa1dd804303885b1e230a5f629'
* commit 'f22aa6b841dc54fa1dd804303885b1e230a5f629':
flvdec: avoid unitialized use of a struct member
See: 396ddcf22d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
1922357e5a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user