diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-06-23 04:48:40 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-07-03 19:42:29 +0200 |
commit | 45920251d9e91c42d7beda616760a63734cf666c (patch) | |
tree | ff535e0a42e79bdde69a803c84201da2f601383c | |
parent | 8bed944dda4482e080eeba9724486187e0049cfa (diff) | |
download | ffmpeg-45920251d9e91c42d7beda616760a63734cf666c.tar.gz |
avcodec/fic: Ensure skip frames have up-to-date props
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/fic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/fic.c b/libavcodec/fic.c index 2345e7c9ad..47cfb6ae7e 100644 --- a/libavcodec/fic.c +++ b/libavcodec/fic.c @@ -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; } |