Commit d4b1b33e authored by Clément Bœsch's avatar Clément Bœsch

avutil/threadmessage: fix build without HAVE_THREADS

parent 4a2058bf
......@@ -202,11 +202,13 @@ void av_thread_message_queue_set_err_recv(AVThreadMessageQueue *mq,
#endif /* HAVE_THREADS */
}
#if HAVE_THREADS
static void free_func_wrap(void *arg, void *msg, int size)
{
AVThreadMessageQueue *mq = arg;
mq->free_func(msg);
}
#endif
void av_thread_message_flush(AVThreadMessageQueue *mq)
{
......
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