Message ID | 1511169274-28005-1-git-send-email-zhong.li@intel.com |
---|---|
State | New |
Headers | show |
On 20/11/17 09:14, Zhong Li wrote: > suppres build warning of "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 --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; > Set applied. Thanks, - Mark
> On 20/11/17 09:14, Zhong Li wrote: > > suppres build warning of "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 --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; > > > > Set applied. > > Thanks, > > - Mark Got it, thanks very much. Zhong
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;
suppres build warning of "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(-)