[FFmpeg-devel] [PATCH 47/48] avcodec/rv34: Don't report progress unnecessarily
Andreas Rheinhardt
ffmpegagent at gmail.com
Mon Jun 23 16:36:47 EEST 2025
From: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
ff_mpv_frame_end() already does it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
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;
}
}
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list