[FFmpeg-devel] [PATCH] vp3-mt: fix deadlock when first frame is not a keyframe.
Ronald S. Bultje
rsbultje
Wed Mar 2 18:21:15 CET 2011
Hi,
On Wed, Mar 2, 2011 at 11:49 AM, Alexander Strange
<astrange at ithinksw.com> wrote:
> On Wed, Mar 2, 2011 at 11:45 AM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>> ---
>> ?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
>
> OK.
Thanks, pushed.
Ronald
More information about the ffmpeg-devel
mailing list