mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
vp3-mt: fix deadlock when first frame is not a keyframe.
(cherry picked from commit 8cf9a09d40)
This commit is contained in:
committed by
Michael Niedermayer
parent
5cdef40a78
commit
f28e599fbc
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user