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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Feb 11 16:02:18 EET 2024


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;
-- 
2.34.1



More information about the ffmpeg-devel mailing list