diff options
author | Clément Bœsch <clement@stupeflix.com> | 2015-12-07 15:08:51 +0100 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-12-07 17:25:51 +0100 |
commit | a8bb81a05c519dd3f36cc341e5fb448f6d17fa73 (patch) | |
tree | d3d39f117605090d8c45bd8b1d6a415a286e6e4e /libavcodec/pthread_frame.c | |
parent | a0050d9bf9b6b2d46c78b0e64041728e28535fa5 (diff) | |
download | ffmpeg-a8bb81a05c519dd3f36cc341e5fb448f6d17fa73.tar.gz |
lavc, lavu: use avutil/thread.h instead of redundant conditional includes
Diffstat (limited to 'libavcodec/pthread_frame.c')
-rw-r--r-- | libavcodec/pthread_frame.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index 7651211abe..b77dd1e50a 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread_frame.c @@ -26,14 +26,6 @@ #include <stdint.h> -#if HAVE_PTHREADS -#include <pthread.h> -#elif HAVE_W32THREADS -#include "compat/w32pthreads.h" -#elif HAVE_OS2THREADS -#include "compat/os2threads.h" -#endif - #include "avcodec.h" #include "internal.h" #include "pthread_internal.h" @@ -49,6 +41,7 @@ #include "libavutil/log.h" #include "libavutil/mem.h" #include "libavutil/opt.h" +#include "libavutil/thread.h" /** * Context used by codec threads and stored in their AVCodecInternal thread_ctx. |