diff mbox

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

Message ID 1510722604-7874-1-git-send-email-zhong.li@intel.com
State Accepted
Commit 0f0b2ece38de61be28df270a27d1c959e44336d6
Headers show

Commit Message

Zhong Li Nov. 15, 2017, 5:10 a.m. UTC
variable 's' is declared but not used.

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

Patch

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;