Module: ffmpeg
Branch: master
Commit: 8cf9a09d407c42299b3203bd1eb42af6109a0d7a

Author:    Ronald S. Bultje <[email protected]>
Committer: Ronald S. Bultje <[email protected]>
Date:      Wed Mar  2 12:15:07 2011 -0500

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

---

 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);
         }
     }
 

_______________________________________________
ffmpeg-commits mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-commits

Reply via email to