[FFmpeg-devel] [PATCH] avutil/opencl: don't include config.h
Wei Gao
highgod0401 at gmail.com
Wed Jan 7 04:10:00 CET 2015
2015-01-06 12:56 GMT+08:00 James Almer <jamrial at gmail.com>:
> It's not an installed header. Use libavutil/avconfig.h instead.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> Untested as i don't have an OpenCL SDK installed.
>
> configure | 2 +-
> libavutil/opencl.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 50458ea..de6975c 100755
> --- a/configure
> +++ b/configure
> @@ -1629,6 +1629,7 @@ HAVE_LIST_CMDLINE="
>
> HAVE_LIST_PUB="
> bigendian
> + CL_cl_h
> fast_unaligned
> incompatible_libav_abi
> "
> @@ -1640,7 +1641,6 @@ HEADERS_LIST="
> asm_types_h
> cdio_paranoia_h
> cdio_paranoia_paranoia_h
> - CL_cl_h
> dev_bktr_ioctl_bt848_h
> dev_bktr_ioctl_meteor_h
> dev_ic_bt8xx_h
> diff --git a/libavutil/opencl.h b/libavutil/opencl.h
> index 4655cba..67306da 100644
> --- a/libavutil/opencl.h
> +++ b/libavutil/opencl.h
> @@ -32,7 +32,7 @@
> #ifndef LIBAVUTIL_OPENCL_H
> #define LIBAVUTIL_OPENCL_H
>
> -#include "config.h"
> +#include "libavutil/avconfig.h"
> #if HAVE_CL_CL_H
> #include <CL/cl.h>
> #else
> --
> 2.2.1
>
> looks good to me thanks
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list