Commit 9a77a92c authored by Mans Rullgard's avatar Mans Rullgard
Browse files

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: default avatarMans Rullgard <mans@mansr.com>
parent aef669cd
......@@ -1297,7 +1297,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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment