mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-01 22:49:21 +00:00
avcodec/utils: initialize delay in avcodec_parameters_to_context()
Fixes lost codec delayy Should fix Ticket5509 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7c55f5d782
commit
d953b2857b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user