[FFmpeg-cvslog] avcodec/rv34: Don't report progress unnecessarily

Andreas Rheinhardt git at videolan.org
Thu Jul 3 21:56:41 EEST 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Jun 23 08:52:34 2025 +0200| [fa02dea036dda41133986f10e837e6310a8e4338] | committer: Andreas Rheinhardt

avcodec/rv34: Don't report progress unnecessarily

ff_mpv_frame_end() already does it.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fa02dea036dda41133986f10e837e6310a8e4338
---

 libavcodec/rv34.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index 4feab95eb5..bd8800ee5d 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -1581,9 +1581,6 @@ static int finish_frame(AVCodecContext *avctx, AVFrame *pict)
     ff_mpv_frame_end(s);
     r->mb_num_left = 0;
 
-    if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME))
-        ff_thread_progress_report(&s->cur_pic.ptr->progress, INT_MAX);
-
     if (s->pict_type == AV_PICTURE_TYPE_B) {
         if ((ret = av_frame_ref(pict, s->cur_pic.ptr->f)) < 0)
             return ret;
@@ -1809,7 +1806,6 @@ int ff_rv34_decode_frame(AVCodecContext *avctx, AVFrame *pict,
             ff_er_frame_end(&s->er, NULL);
             ff_mpv_frame_end(s);
             r->mb_num_left = 0;
-            ff_thread_progress_report(&s->cur_pic.ptr->progress, INT_MAX);
             return AVERROR_INVALIDDATA;
         }
     }



More information about the ffmpeg-cvslog mailing list