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>
pull/23/head
Dave Yeo 12 years ago committed by Michael Niedermayer
parent 269fc8e049
commit e615a77799
  1. 0
      compat/os2threads.h
  2. 1
      libavcodec/Makefile
  3. 2
      libavcodec/frame_thread_encoder.c
  4. 2
      libavcodec/pthread.c
  5. 2
      libavcodec/vp8.h
  6. 2
      libavfilter/pthread.c
  7. 2
      libavformat/network.c

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

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

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

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

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

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

Loading…
Cancel
Save