avutil/hwcontext_cuda: add support for nvenc rgb formats
[ffmpeg.git] / libavutil / hwcontext_opencl.h
index 8e34df4..ef54486 100644 (file)
 #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"