[FFmpeg-cvslog] lavu/opencl: restore #if HAVE_THREADS
Clément Bœsch
git at videolan.org
Mon Dec 7 20:29:11 CET 2015
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Mon Dec 7 20:28:26 2015 +0100| [dd1d9b80c99eab2790f6e9c80aa1131c6e9a311d] | committer: Clément Bœsch
lavu/opencl: restore #if HAVE_THREADS
Fix regression since a8bb81a.
Spotted-by: RiCON
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dd1d9b80c99eab2790f6e9c80aa1131c6e9a311d
---
libavutil/opencl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavutil/opencl.c b/libavutil/opencl.c
index 160076c..08b5034 100644
--- a/libavutil/opencl.c
+++ b/libavutil/opencl.c
@@ -26,6 +26,8 @@
#include "log.h"
#include "avassert.h"
#include "opt.h"
+
+#if HAVE_THREADS
#include "thread.h"
#include "atomic.h"
More information about the ffmpeg-cvslog
mailing list