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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue