diff options
author | Clément Bœsch <clement@stupeflix.com> | 2015-12-07 14:26:39 +0100 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-12-07 14:28:34 +0100 |
commit | d4b1b33e698bfcc9b85cd0a183442b497c2c4e5a (patch) | |
tree | 8d5fc7495d751fdac31290fee49c3f3023c45bd1 /libavutil/threadmessage.c | |
parent | 4a2058bf4e75a657e207cb6ae76b3959fe9b0588 (diff) | |
download | ffmpeg-d4b1b33e698bfcc9b85cd0a183442b497c2c4e5a.tar.gz |
avutil/threadmessage: fix build without HAVE_THREADS
Diffstat (limited to 'libavutil/threadmessage.c')
-rw-r--r-- | libavutil/threadmessage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/threadmessage.c b/libavutil/threadmessage.c index 1f2cca8668..921d83128b 100644 --- a/libavutil/threadmessage.c +++ b/libavutil/threadmessage.c @@ -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) { |