diff options
author | Dave Yeo <daveryeo@telus.net> | 2013-05-27 23:22:10 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-28 12:49:20 +0200 |
commit | e615a777990f9c9cd6dd4d5d85cb21f6e43e5d74 (patch) | |
tree | 4e77dc0c26345532415afbec04d7eed6c5215644 | |
parent | 269fc8e04906ffd965aa19425ca90980b23c6508 (diff) | |
download | ffmpeg-e615a777990f9c9cd6dd4d5d85cb21f6e43e5d74.tar.gz |
os2threads: move from lavc to compat/
For useage in other places besides lavc. Needed after commit
90f9a5830b5d332de7ebb1ab45589f1870cbd65d
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | compat/os2threads.h (renamed from libavcodec/os2threads.h) | 0 | ||||
-rw-r--r-- | libavcodec/Makefile | 1 | ||||
-rw-r--r-- | libavcodec/frame_thread_encoder.c | 2 | ||||
-rw-r--r-- | libavcodec/pthread.c | 2 | ||||
-rw-r--r-- | libavcodec/vp8.h | 2 | ||||
-rw-r--r-- | libavfilter/pthread.c | 2 | ||||
-rw-r--r-- | libavformat/network.c | 2 |
7 files changed, 6 insertions, 5 deletions
diff --git a/libavcodec/os2threads.h b/compat/os2threads.h index b816bff15f..b816bff15f 100644 --- a/libavcodec/os2threads.h +++ b/compat/os2threads.h diff --git a/libavcodec/Makefile b/libavcodec/Makefile index ad42d1aebb..32d51a1066 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -803,7 +803,6 @@ SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_internal.h SKIPHEADERS-$(CONFIG_VDA) += vda.h SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h -SKIPHEADERS-$(HAVE_OS2THREADS) += os2threads.h TESTPROGS = cabac \ dct \ diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c index 80577ec9c4..b9acefc110 100644 --- a/libavcodec/frame_thread_encoder.c +++ b/libavcodec/frame_thread_encoder.c @@ -32,7 +32,7 @@ #elif HAVE_W32THREADS #include "compat/w32pthreads.h" #elif HAVE_OS2THREADS -#include "os2threads.h" +#include "compat/os2threads.h" #endif #define MAX_THREADS 64 diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 259dab0d8c..7968a61358 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -43,7 +43,7 @@ #elif HAVE_W32THREADS #include "compat/w32pthreads.h" #elif HAVE_OS2THREADS -#include "os2threads.h" +#include "compat/os2threads.h" #endif typedef int (action_func)(AVCodecContext *c, void *arg); diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h index 1bba79e415..3bc06a7c58 100644 --- a/libavcodec/vp8.h +++ b/libavcodec/vp8.h @@ -38,7 +38,7 @@ #elif HAVE_W32THREADS #include "compat/w32pthreads.h" #elif HAVE_OS2THREADS -#include "os2threads.h" +#include "compat/os2threads.h" #endif #define VP8_MAX_QUANT 127 diff --git a/libavfilter/pthread.c b/libavfilter/pthread.c index 0630ad2f50..eb40f0058e 100644 --- a/libavfilter/pthread.c +++ b/libavfilter/pthread.c @@ -34,6 +34,8 @@ #if HAVE_PTHREADS #include <pthread.h> +#elif HAVE_OS2THREADS +#include "compat/os2threads.h" #elif HAVE_W32THREADS #include "compat/w32pthreads.h" #endif diff --git a/libavformat/network.c b/libavformat/network.c index abb89b331e..766351eb6e 100644 --- a/libavformat/network.c +++ b/libavformat/network.c @@ -29,7 +29,7 @@ #if HAVE_PTHREADS #include <pthread.h> #elif HAVE_OS2THREADS -#include "libavcodec/os2threads.h" +#include "compat/os2threads.h" #else #include "compat/w32pthreads.h" #endif |