hwcontext_opencl: remove an unused variable
authorJun Zhao <mypopydev@gmail.com>
Mon, 18 Jun 2018 12:19:39 +0000 (20:19 +0800)
committerJun Zhao <jun.zhao@intel.com>
Thu, 28 Jun 2018 21:23:49 +0000 (05:23 +0800)
remove an unused variable

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
libavutil/hwcontext_opencl.c

index ad82ef6..7288775 100644 (file)
@@ -928,7 +928,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,