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,7 +2584,8 @@ int vp78_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
|
||||
s->next_framep[VP56_FRAME_CURRENT] = curframe;
|
||||
|
||||
ff_thread_finish_setup(avctx);
|
||||
if (avctx->codec->update_thread_context)
|
||||
ff_thread_finish_setup(avctx);
|
||||
|
||||
s->linesize = curframe->tf.f->linesize[0];
|
||||
s->uvlinesize = curframe->tf.f->linesize[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user