Commit 8c22bea5 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/vp8: Fix multiple ff_thread_finish_setup() calls

Fixes Ticket3725
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1fd0e9a5
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment