mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
avutil/threadmessage: fix build without HAVE_THREADS
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user