[FFmpeg-devel] [PATCH v2 4/4] hwcontext_opencl: remove an unused variable

Mark Thompson sw at jkqxz.net
Thu Jun 28 18:51:54 EEST 2018


On 21/06/18 12:45, Jun Zhao wrote:
> remove an unused variable
> 
> Signed-off-by: Jun Zhao <mypopydev at gmail.com>
> ---
>  libavutil/hwcontext_opencl.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c
> index 295d6be..4718a86 100644
> --- a/libavutil/hwcontext_opencl.c
> +++ b/libavutil/hwcontext_opencl.c
> @@ -929,7 +929,6 @@ static int opencl_enumerate_intel_media_vaapi_devices(AVHWDeviceContext *hwdev,
>      clGetDeviceIDsFromVA_APIMediaAdapterINTEL_fn
>          clGetDeviceIDsFromVA_APIMediaAdapterINTEL;
>      cl_int cle;
> -    int err;
>  
>      clGetDeviceIDsFromVA_APIMediaAdapterINTEL =
>          clGetExtensionFunctionAddressForPlatform(platform_id,
> 

LGTM.

Thanks,

- Mark


More information about the ffmpeg-devel mailing list