[FFmpeg-cvslog] vp3-mt: fix deadlock when first frame is not a keyframe.
Ronald S. Bultje
git
Thu Mar 3 18:23:05 CET 2011
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Wed Mar 2 12:15:07 2011 -0500| [f28e599fbc853938b1cd0ef0aa7d01b9c06b7e9c] | committer: Michael Niedermayer
vp3-mt: fix deadlock when first frame is not a keyframe.
(cherry picked from commit 8cf9a09d407c42299b3203bd1eb42af6109a0d7a)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f28e599fbc853938b1cd0ef0aa7d01b9c06b7e9c
---
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);
}
}
More information about the ffmpeg-cvslog
mailing list