mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
Merge commit 'f22aa6b841dc54fa1dd804303885b1e230a5f629'
* commit 'f22aa6b841dc54fa1dd804303885b1e230a5f629': flvdec: avoid unitialized use of a struct member See: 396ddcf22d55fa7e735d69eed22a4a4b1649b73c 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…
x
Reference in New Issue
Block a user