os2threads: move from lavc to compat/

For useage in other places besides lavc. Needed after commit
90f9a5830b

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Dave Yeo 2013-05-27 23:22:10 -07:00 committed by Michael Niedermayer
parent 269fc8e049
commit e615a77799
7 changed files with 6 additions and 5 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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