summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_qsv.c
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2017-11-20 04:14:32 -0500
committerMark Thompson <sw@jkqxz.net>2017-11-20 15:45:01 +0000
commit0f0b2ece38de61be28df270a27d1c959e44336d6 (patch)
tree96e1bc381485a785cecc2561dc81e44a5f31d9f2 /libavutil/hwcontext_qsv.c
parent3db5961727d300ed048f1fae87e3e4fd339b8456 (diff)
lavu/qsv: remove unused variable
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>
Diffstat (limited to 'libavutil/hwcontext_qsv.c')
-rw-r--r--libavutil/hwcontext_qsv.c1
1 files changed, 0 insertions, 1 deletions
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;