提交 ee5bb31f 编写于 作者: M Mans Rullgard 提交者: Michael Niedermayer

Fix build with threading disabled

The avcodec_thread_free() compatibility wrapper calls ff_thread_free(),
which is not defined when threading is disabled.  Make this call
conditional.
Signed-off-by: NMans Rullgard <mans@mansr.com>
(cherry picked from commit 9a77a92c)
上级 74711b72
......@@ -1339,7 +1339,9 @@ int avcodec_thread_init(AVCodecContext *s, int thread_count)
void avcodec_thread_free(AVCodecContext *s)
{
#if HAVE_THREADS
return ff_thread_free(s);
#endif
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册