[FFmpeg-devel] [PATCH] avfilter/vf_(bwdif|yadif)_cuda: Remove unused variables

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Feb 13 14:23:40 EET 2024


Andreas Rheinhardt:
> Forgotten in 268062fa15e1c05310f9c3977e0b95ac07eca274.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavfilter/vf_bwdif_cuda.c | 1 -
>  libavfilter/vf_yadif_cuda.c | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/libavfilter/vf_bwdif_cuda.c b/libavfilter/vf_bwdif_cuda.c
> index 7585d1fe25..8c37dc8800 100644
> --- a/libavfilter/vf_bwdif_cuda.c
> +++ b/libavfilter/vf_bwdif_cuda.c
> @@ -199,7 +199,6 @@ static av_cold void deint_cuda_uninit(AVFilterContext *ctx)
>  {
>      CUcontext dummy;
>      DeintCUDAContext *s = ctx->priv;
> -    YADIFContext *y = &s->yadif;
>  
>      if (s->hwctx && s->cu_module) {
>          CudaFunctions *cu = s->hwctx->internal->cuda_dl;
> diff --git a/libavfilter/vf_yadif_cuda.c b/libavfilter/vf_yadif_cuda.c
> index 17389f092f..79080e71c2 100644
> --- a/libavfilter/vf_yadif_cuda.c
> +++ b/libavfilter/vf_yadif_cuda.c
> @@ -191,7 +191,6 @@ static av_cold void deint_cuda_uninit(AVFilterContext *ctx)
>  {
>      CUcontext dummy;
>      DeintCUDAContext *s = ctx->priv;
> -    YADIFContext *y = &s->yadif;
>  
>      if (s->hwctx && s->cu_module) {
>          CudaFunctions *cu = s->hwctx->internal->cuda_dl;

Will apply tomorrow unless there are objections.

- Andreas



More information about the ffmpeg-devel mailing list