summaryrefslogtreecommitdiff
path: root/libavfilter/pthread.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-01-20 21:36:10 +0100
committerClément Bœsch <u@pkh.me>2016-01-20 21:36:54 +0100
commita36201564163a267644f1b5bc58fca0e3c25a9fa (patch)
treec7d6da2c6c12d45a46f8fdf9fbc356a2630c6016 /libavfilter/pthread.c
parent4590811fc216115fc551d9d87a02e567d71db41f (diff)
downloadffmpeg-a36201564163a267644f1b5bc58fca0e3c25a9fa.tar.gz
lavc,lavfi: use avutil/thread.h instead of redundant conditional includes
This was somehow forgotten in a8bb81a05c519dd3f36cc341e5fb448f6d17fa73.
Diffstat (limited to 'libavfilter/pthread.c')
-rw-r--r--libavfilter/pthread.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libavfilter/pthread.c b/libavfilter/pthread.c
index 070b3bded5..1c5419340d 100644
--- a/libavfilter/pthread.c
+++ b/libavfilter/pthread.c
@@ -27,19 +27,12 @@
#include "libavutil/common.h"
#include "libavutil/cpu.h"
#include "libavutil/mem.h"
+#include "libavutil/thread.h"
#include "avfilter.h"
#include "internal.h"
#include "thread.h"
-#if HAVE_PTHREADS
-#include <pthread.h>
-#elif HAVE_OS2THREADS
-#include "compat/os2threads.h"
-#elif HAVE_W32THREADS
-#include "compat/w32pthreads.h"
-#endif
-
typedef struct ThreadContext {
AVFilterGraph *graph;