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

avutil/threadmessage: fix build without HAVE_THREADS, new attempt

parent 312c83e0
......@@ -93,7 +93,9 @@ int av_thread_message_queue_alloc(AVThreadMessageQueue **mq,
void av_thread_message_queue_set_free_func(AVThreadMessageQueue *mq,
void (*free_func)(void *msg))
{
#if HAVE_THREADS
mq->free_func = free_func;
#endif
}
void av_thread_message_queue_free(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