[FFmpeg-devel] [PATCH 1/2] lavu/qsv: fix the warning of unused variable

Zhong Li zhong.li at intel.com
Wed Nov 15 07:10:03 EET 2017


variable 's' is declared but not used.

Signed-off-by: Zhong Li <zhong.li at intel.com>
---
 libavutil/hwcontext_qsv.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c
index 8e43420..9b6040b 100644
--- a/libavutil/hwcontext_qsv.c
+++ b/libavutil/hwcontext_qsv.c
@@ -989,7 +989,6 @@ static int qsv_device_derive_from_child(AVHWDeviceContext *ctx,
                                         int flags)
 {
     AVQSVDeviceContext *hwctx = ctx->hwctx;
-    QSVDeviceContext       *s = ctx->internal->priv;
 
     mfxVersion    ver = { { 3, 1 } };
     mfxHDL        handle;
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list