[FFmpeg-cvslog] hwcontext_opencl: remove an unused variable

Jun Zhao git at videolan.org
Fri Jun 29 00:37:21 EEST 2018


ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Mon Jun 18 20:19:39 2018 +0800| [6b453a81bcb5837c571f50d45b74f349c9370605] | committer: Jun Zhao

hwcontext_opencl: remove an unused variable

remove an unused variable

Signed-off-by: Jun Zhao <mypopydev at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b453a81bcb5837c571f50d45b74f349c9370605
---

 libavutil/hwcontext_opencl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c
index ad82ef6b2d..728877553f 100644
--- a/libavutil/hwcontext_opencl.c
+++ b/libavutil/hwcontext_opencl.c
@@ -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,



More information about the ffmpeg-cvslog mailing list