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

Jun Zhao mypopydev at gmail.com
Mon Jun 18 15:26:36 EEST 2018


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 65b4a0c..b58d16d 100644
--- a/libavutil/hwcontext_opencl.c
+++ b/libavutil/hwcontext_opencl.c
@@ -927,7 +927,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,
-- 
2.7.4



More information about the ffmpeg-devel mailing list