mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
flvdec: avoid unitialized use of a struct member
CC: libav-stable@libav.org Bug-Id: CID 718141
This commit is contained in:
parent
e73d26bbd6
commit
f22aa6b841
@ -879,6 +879,7 @@ skip:
|
||||
} else {
|
||||
AVCodecContext ctx;
|
||||
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