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:
		
				
					committed by
					
						
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							269fc8e049
						
					
				
				
					commit
					e615a77799
				
			@@ -803,7 +803,6 @@ SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h
 | 
				
			|||||||
SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
 | 
					SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
 | 
				
			||||||
SKIPHEADERS-$(CONFIG_VDA)              += vda.h
 | 
					SKIPHEADERS-$(CONFIG_VDA)              += vda.h
 | 
				
			||||||
SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h
 | 
					SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h
 | 
				
			||||||
SKIPHEADERS-$(HAVE_OS2THREADS)         += os2threads.h
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
TESTPROGS = cabac                                                       \
 | 
					TESTPROGS = cabac                                                       \
 | 
				
			||||||
            dct                                                         \
 | 
					            dct                                                         \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,7 @@
 | 
				
			|||||||
#elif HAVE_W32THREADS
 | 
					#elif HAVE_W32THREADS
 | 
				
			||||||
#include "compat/w32pthreads.h"
 | 
					#include "compat/w32pthreads.h"
 | 
				
			||||||
#elif HAVE_OS2THREADS
 | 
					#elif HAVE_OS2THREADS
 | 
				
			||||||
#include "os2threads.h"
 | 
					#include "compat/os2threads.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MAX_THREADS 64
 | 
					#define MAX_THREADS 64
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -43,7 +43,7 @@
 | 
				
			|||||||
#elif HAVE_W32THREADS
 | 
					#elif HAVE_W32THREADS
 | 
				
			||||||
#include "compat/w32pthreads.h"
 | 
					#include "compat/w32pthreads.h"
 | 
				
			||||||
#elif HAVE_OS2THREADS
 | 
					#elif HAVE_OS2THREADS
 | 
				
			||||||
#include "os2threads.h"
 | 
					#include "compat/os2threads.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef int (action_func)(AVCodecContext *c, void *arg);
 | 
					typedef int (action_func)(AVCodecContext *c, void *arg);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@
 | 
				
			|||||||
#elif HAVE_W32THREADS
 | 
					#elif HAVE_W32THREADS
 | 
				
			||||||
#include "compat/w32pthreads.h"
 | 
					#include "compat/w32pthreads.h"
 | 
				
			||||||
#elif HAVE_OS2THREADS
 | 
					#elif HAVE_OS2THREADS
 | 
				
			||||||
#include "os2threads.h"
 | 
					#include "compat/os2threads.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define VP8_MAX_QUANT 127
 | 
					#define VP8_MAX_QUANT 127
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if HAVE_PTHREADS
 | 
					#if HAVE_PTHREADS
 | 
				
			||||||
#include <pthread.h>
 | 
					#include <pthread.h>
 | 
				
			||||||
 | 
					#elif HAVE_OS2THREADS
 | 
				
			||||||
 | 
					#include "compat/os2threads.h"
 | 
				
			||||||
#elif HAVE_W32THREADS
 | 
					#elif HAVE_W32THREADS
 | 
				
			||||||
#include "compat/w32pthreads.h"
 | 
					#include "compat/w32pthreads.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,7 +29,7 @@
 | 
				
			|||||||
#if HAVE_PTHREADS
 | 
					#if HAVE_PTHREADS
 | 
				
			||||||
#include <pthread.h>
 | 
					#include <pthread.h>
 | 
				
			||||||
#elif HAVE_OS2THREADS
 | 
					#elif HAVE_OS2THREADS
 | 
				
			||||||
#include "libavcodec/os2threads.h"
 | 
					#include "compat/os2threads.h"
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#include "compat/w32pthreads.h"
 | 
					#include "compat/w32pthreads.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user