From f28e599fbc853938b1cd0ef0aa7d01b9c06b7e9c Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 2 Mar 2011 12:15:07 -0500 Subject: [PATCH] vp3-mt: fix deadlock when first frame is not a keyframe. (cherry picked from commit 8cf9a09d407c42299b3203bd1eb42af6109a0d7a) --- libavcodec/vp3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 3d4bfb4d91e..97e5d64351f 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1915,6 +1915,7 @@ static int vp3_decode_frame(AVCodecContext *avctx, } s->last_frame = s->golden_frame; s->last_frame.type = FF_BUFFER_TYPE_COPY; + ff_thread_report_progress(&s->last_frame, INT_MAX, 0); } } -- 2.39.2