diff mbox series

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

Message ID AS8P250MB0744BF71B60ABC8F54C559088F492@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit b84d286ac7040bee9a58ba081e6a43824a90bd19
Headers show
Series [FFmpeg-devel] avfilter/vf_(bwdif|yadif)_cuda: Remove unused variables | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Feb. 11, 2024, 2:02 p.m. UTC
Forgotten in 268062fa15e1c05310f9c3977e0b95ac07eca274.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/vf_bwdif_cuda.c | 1 -
 libavfilter/vf_yadif_cuda.c | 1 -
 2 files changed, 2 deletions(-)

Comments

Andreas Rheinhardt Feb. 13, 2024, 12:23 p.m. UTC | #1
Andreas Rheinhardt:
> Forgotten in 268062fa15e1c05310f9c3977e0b95ac07eca274.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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
diff mbox series

Patch

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;