lavc, lavu: use avutil/thread.h instead of redundant conditional includes

This commit is contained in:
Clément Bœsch
2015-12-07 15:08:51 +01:00
parent a0050d9bf9
commit a8bb81a05c
6 changed files with 6 additions and 52 deletions

View File

@@ -20,17 +20,7 @@
#include "fifo.h"
#include "threadmessage.h"
#if HAVE_THREADS
#if HAVE_PTHREADS
#include <pthread.h>
#elif HAVE_W32THREADS
#include "compat/w32pthreads.h"
#elif HAVE_OS2THREADS
#include "compat/os2threads.h"
#else
#error "Unknown threads implementation"
#endif
#endif
#include "thread.h"
struct AVThreadMessageQueue {
#if HAVE_THREADS