[FFmpeg-cvslog] lavfi/vf_estdif: drop an unused function parameter

Anton Khirnov git at videolan.org
Thu Oct 13 11:21:27 EEST 2022


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Oct 10 17:39:04 2022 +0200| [2feeb6d10307a7172b11568bf8bd605416759886] | committer: Anton Khirnov

lavfi/vf_estdif: drop an unused function parameter

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2feeb6d10307a7172b11568bf8bd605416759886
---

 libavfilter/vf_estdif.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavfilter/vf_estdif.c b/libavfilter/vf_estdif.c
index 45089a01da..9a3195fefb 100644
--- a/libavfilter/vf_estdif.c
+++ b/libavfilter/vf_estdif.c
@@ -433,7 +433,7 @@ static int deinterlace_slice(AVFilterContext *ctx, void *arg,
     return 0;
 }
 
-static int filter(AVFilterContext *ctx, int is_second, AVFrame *in)
+static int filter(AVFilterContext *ctx, AVFrame *in)
 {
     ESTDIFContext *s = ctx->priv;
     AVFilterLink *outlink = ctx->outputs[0];
@@ -510,7 +510,7 @@ static int config_input(AVFilterLink *inlink)
     }
 
     s->pts = s->prev->pts * 2;
-    ret = filter(ctx, 0, s->prev);
+    ret = filter(ctx, s->prev);
     if (ret < 0 || s->mode == 0) {
         av_frame_free(&s->prev);
         s->prev = in;
@@ -518,7 +518,7 @@ static int config_input(AVFilterLink *inlink)
     }
 
     s->pts = s->prev->pts + in->pts;
-    ret = filter(ctx, 1, s->prev);
+    ret = filter(ctx, s->prev);
     av_frame_free(&s->prev);
     s->prev = in;
     return ret;



More information about the ffmpeg-cvslog mailing list