summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2025-06-23 08:52:34 +0200
committerAndreas Rheinhardt <[email protected]>2025-07-03 20:35:32 +0200
commitfa02dea036dda41133986f10e837e6310a8e4338 (patch)
tree602f38ce5f93030279bdd7dfbdb3d5309d9729c3
parentabc54c25befa2f2ca4ecea23d4feb12922e6c44f (diff)
avcodec/rv34: Don't report progress unnecessarily
ff_mpv_frame_end() already does it. Signed-off-by: Andreas Rheinhardt <[email protected]>
-rw-r--r--libavcodec/rv34.c4
1 files changed, 0 insertions, 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;
}
}