lavu/qsv: remove unused variable
authorZhong Li <zhong.li@intel.com>
Mon, 20 Nov 2017 09:14:32 +0000 (04:14 -0500)
committerMark Thompson <sw@jkqxz.net>
Mon, 20 Nov 2017 15:45:01 +0000 (15:45 +0000)
Fixes build warning of "variable 's' is declared but not used"

Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavutil/hwcontext_qsv.c

index 8e43420..9b6040b 100644 (file)
@@ -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;