Commit f28e599f authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Michael Niedermayer

vp3-mt: fix deadlock when first frame is not a keyframe.

(cherry picked from commit 8cf9a09d)
parent 5cdef40a
...@@ -1915,6 +1915,7 @@ static int vp3_decode_frame(AVCodecContext *avctx, ...@@ -1915,6 +1915,7 @@ static int vp3_decode_frame(AVCodecContext *avctx,
} }
s->last_frame = s->golden_frame; s->last_frame = s->golden_frame;
s->last_frame.type = FF_BUFFER_TYPE_COPY; s->last_frame.type = FF_BUFFER_TYPE_COPY;
ff_thread_report_progress(&s->last_frame, INT_MAX, 0);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment