Commit 31816eae authored by Rainer Hochecker's avatar Rainer Hochecker Committed by Michael Niedermayer

hevc: delay ff_thread_finish_setup for hwaccel

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 22af79a9
......@@ -2600,7 +2600,8 @@ static int hevc_frame_start(HEVCContext *s)
if (ret < 0)
goto fail;
ff_thread_finish_setup(s->avctx);
if (!s->avctx->hwaccel)
ff_thread_finish_setup(s->avctx);
return 0;
......
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