Commit 1922357e authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'f22aa6b8'

* commit 'f22aa6b8':
  flvdec: avoid unitialized use of a struct member

See: 396ddcf2Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 45426150 f22aa6b8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment