You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/fic: Ensure skip frames have up-to-date props
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -301,6 +301,10 @@ static int fic_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
|
||||
av_log(avctx, AV_LOG_WARNING, "Initial frame is skipped\n");
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
ret = ff_reget_buffer(avctx, ctx->final_frame,
|
||||
FF_REGET_BUFFER_FLAG_READONLY);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
goto skip;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user