提交 8c22bea5 编写于 作者: M Michael Niedermayer

avcodec/vp8: Fix multiple ff_thread_finish_setup() calls

Fixes Ticket3725
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册