mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-05 23:58:59 +02:00
avcodec/vp8: Fix multiple ff_thread_finish_setup() calls
Fixes Ticket3725 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1fd0e9a56d
commit
8c22bea574
@ -2584,6 +2584,7 @@ int vp78_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
|
||||
s->next_framep[VP56_FRAME_CURRENT] = curframe;
|
||||
|
||||
if (avctx->codec->update_thread_context)
|
||||
ff_thread_finish_setup(avctx);
|
||||
|
||||
s->linesize = curframe->tf.f->linesize[0];
|
||||
|
Loading…
Reference in New Issue
Block a user