aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-03-02 12:15:07 -0500
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-02 12:15:07 -0500
commit8cf9a09d407c42299b3203bd1eb42af6109a0d7a (patch)
tree4d336a1124d21fba142ccc6315ca3bb4ce73370d
parentff1efc524cb3c60f2f746e3b4550bb1a86c65316 (diff)
downloadffmpeg-8cf9a09d407c42299b3203bd1eb42af6109a0d7a.tar.gz
vp3-mt: fix deadlock when first frame is not a keyframe.
-rw-r--r--libavcodec/vp3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 3d4bfb4d91..97e5d64351 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);
}
}