Commit d953b285 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/utils: initialize delay in avcodec_parameters_to_context()

Fixes lost codec delayy
Should fix Ticket5509
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 7c55f5d7
......@@ -4157,6 +4157,7 @@ int avcodec_parameters_to_context(AVCodecContext *codec,
codec->sample_rate = par->sample_rate;
codec->block_align = par->block_align;
codec->frame_size = par->frame_size;
codec->delay =
codec->initial_padding = par->initial_padding;
codec->seek_preroll = par->seek_preroll;
break;
......
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