Re: [FFmpeg-devel] [PATCH 1/3] lavu/qsv: remove unused variable

2017-11-20 Thread Li, Zhong
> 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 
> > ---
> >  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;
> >
> >  mfxVersionver = { { 3, 1 } };
> >  mfxHDLhandle;
> >
> 
> Set applied.
> 
> Thanks,
> 
> - Mark

Got it, thanks very much.
Zhong
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [PATCH 1/3] lavu/qsv: remove unused variable

2017-11-20 Thread Mark Thompson
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 
> ---
>  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;
>  
>  mfxVersionver = { { 3, 1 } };
>  mfxHDLhandle;
> 

Set applied.

Thanks,

- Mark
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel