[FFmpeg-cvslog] lavu/qsv: remove unused variable

Zhong Li git at videolan.org
Mon Nov 20 17:56:08 EET 2017


ffmpeg | branch: master | Zhong Li <zhong.li at intel.com> | Mon Nov 20 04:14:32 2017 -0500| [0f0b2ece38de61be28df270a27d1c959e44336d6] | committer: Mark Thompson

lavu/qsv: remove unused variable

Fixes build warning of "variable 's' is declared but not used"

Signed-off-by: Zhong Li <zhong.li at intel.com>
Signed-off-by: Mark Thompson <sw at jkqxz.net>

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

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

diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c
index 8e43420e70..9b6040ba9e 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;



More information about the ffmpeg-cvslog mailing list