X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpthread_frame.c;h=b77dd1e50abae44dfd1a117b9da253ad6c1bf650;hb=a51c2fcdc15dd37a2d95265a5b74d522b0b0b232;hp=7651211abe0d89930ed8d8e565acfbdfe64cf6e9;hpb=2730a2013daab9a69b021fe107a60e601ec9d688;p=ffmpeg diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index 7651211abe0..b77dd1e50ab 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread_frame.c @@ -26,14 +26,6 @@ #include -#if HAVE_PTHREADS -#include -#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.