[FFmpeg-devel] [PATCH] vp3-mt: fix deadlock when first frame is not a keyframe.

Ronald S. Bultje rsbultje
Wed Mar 2 17:45:36 CET 2011


---
 libavcodec/vp3.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 3d4bfb4..97e5d64 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);
         }
     }
 
-- 
1.7.2.1




More information about the ffmpeg-devel mailing list