ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Mon Jun 23 04:07:09 2025 +0200| [8bed944dda4482e080eeba9724486187e0049cfa] | committer: Andreas Rheinhardt
avcodec/fic: Don't prematurely claim to have decoded a frame Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8bed944dda4482e080eeba9724486187e0049cfa --- libavcodec/fic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/fic.c b/libavcodec/fic.c index 7f5257f01c..2345e7c9ad 100644 --- a/libavcodec/fic.c +++ b/libavcodec/fic.c @@ -431,9 +431,9 @@ static int fic_decode_frame(AVCodecContext *avctx, AVFrame *rframe, } skip: - *got_frame = 1; if ((ret = av_frame_ref(rframe, ctx->final_frame)) < 0) return ret; + *got_frame = 1; return avpkt->size; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".