diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2017-11-27 23:38:46 -0600 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2017-11-28 00:23:42 -0600 |
commit | 1204ce0b6371f5b51efdfe84d1b5aa5925809186 (patch) | |
tree | 9c1b80110f29ebe88f714e29918185ab18842a6b /libavutil/hwcontext_opencl.h | |
parent | 5f67073b4cb12abf21ed840948b271903d61bf3b (diff) | |
download | ffmpeg-1204ce0b6371f5b51efdfe84d1b5aa5925809186.tar.gz |
lavu/hwcontext_opencl.h: fix build on macOS
Diffstat (limited to 'libavutil/hwcontext_opencl.h')
-rw-r--r-- | libavutil/hwcontext_opencl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/hwcontext_opencl.h b/libavutil/hwcontext_opencl.h index 8e34df44cd..ef54486c95 100644 --- a/libavutil/hwcontext_opencl.h +++ b/libavutil/hwcontext_opencl.h @@ -19,7 +19,11 @@ #ifndef AVUTIL_HWCONTEXT_OPENCL_H #define AVUTIL_HWCONTEXT_OPENCL_H +#ifdef __APPLE__ +#include <OpenCL/cl.h> +#else #include <CL/cl.h> +#endif #include "frame.h" |