mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
avutil/threadmessage: fix build without HAVE_THREADS
This commit is contained in:
parent
4a2058bf4e
commit
d4b1b33e69
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue