mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avutil/threadmessage: fix build without HAVE_THREADS, new attempt
This commit is contained in:
parent
312c83e057
commit
5e0c47d41c
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue