mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avcodec/rv34: Don't report progress unnecessarily
ff_mpv_frame_end() already does it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user