diff mbox

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

Message ID 1529324796-25679-2-git-send-email-mypopydev@gmail.com
State Accepted
Commit 6b453a81bcb5837c571f50d45b74f349c9370605
Headers show

Commit Message

Jun Zhao June 18, 2018, 12:26 p.m. UTC
remove an unused variable

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
---
 libavutil/hwcontext_opencl.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

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,