[FFmpeg-devel] [PATCH 1/3] lavu/qsv: remove unused variable

Zhong Li zhong.li at intel.com
Mon Nov 20 11:14:32 EET 2017


suppres build warning of "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