[FFmpeg-devel] [PATCH 1/3] lavu/qsv: remove unused variable
Mark Thompson
sw at jkqxz.net
Mon Nov 20 18:09:39 EET 2017
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 at 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
More information about the ffmpeg-devel
mailing list