diff options
author | Ruiling Song <ruiling.song@intel.com> | 2018-11-23 13:39:12 +0800 |
---|---|---|
committer | Ruiling Song <ruiling.song@intel.com> | 2019-03-22 09:33:28 +0800 |
commit | 61cb505d18b8a335bd118d88c05b9daf40eb5f9b (patch) | |
tree | d829244248d219476d32b21b1c38bc6898f650fe /libavutil | |
parent | 73661740862286464513e2792a31813d383c6afa (diff) | |
download | ffmpeg-streaming-61cb505d18b8a335bd118d88c05b9daf40eb5f9b.zip ffmpeg-streaming-61cb505d18b8a335bd118d88c05b9daf40eb5f9b.tar.gz |
lavu/opencl: replace va_ext.h with standard name
Khronos OpenCL header (https://github.com/KhronosGroup/OpenCL-Headers)
uses cl_va_api_media_sharing_intel.h. And Intel's official OpenCL driver
for Intel GPU (https://github.com/intel/compute-runtime) was compiled
against Khronos OpenCL header. So it's better to align with Khronos.
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/hwcontext_opencl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c index d3df622..b116c5b 100644 --- a/libavutil/hwcontext_opencl.c +++ b/libavutil/hwcontext_opencl.c @@ -50,7 +50,7 @@ #include <mfx/mfxstructures.h> #endif #include <va/va.h> -#include <CL/va_ext.h> +#include <CL/cl_va_api_media_sharing_intel.h> #include "hwcontext_vaapi.h" #endif |