[FFmpeg-cvslog] avfilter/vf_morpho: remove unused function's argument

Paul B Mahol git at videolan.org
Mon May 8 18:52:43 EEST 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon May  8 16:17:52 2023 +0200| [df886171a6bb09123986143734d104ba1ad0ed22] | committer: Paul B Mahol

avfilter/vf_morpho: remove unused function's argument

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

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

diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c
index 64b199ac03..55886d2b8a 100644
--- a/libavfilter/vf_morpho.c
+++ b/libavfilter/vf_morpho.c
@@ -318,7 +318,7 @@ static void free_lut(LUT *table)
 }
 
 static int alloc_lut_if_necessary(LUT *Ty, IPlane *f, chord_set *SE,
-                                  int y, int num, enum MorphModes mode)
+                                  int num, enum MorphModes mode)
 {
     if (!Ty->arr || Ty->I != SE->Lnum ||
         Ty->X != f->w ||
@@ -387,7 +387,7 @@ static void update_min_lut(IPlane *f, LUT *Ty, chord_set *SE, int y, int tid, in
 
 static int compute_min_lut(LUT *Ty, IPlane *f, chord_set *SE, int y, int num)
 {
-    int ret = alloc_lut_if_necessary(Ty, f, SE, y, num, ERODE);
+    int ret = alloc_lut_if_necessary(Ty, f, SE, num, ERODE);
     if (ret < 0)
         return ret;
 
@@ -428,7 +428,7 @@ static void update_max_lut(IPlane *f, LUT *Ty, chord_set *SE, int y, int tid, in
 
 static int compute_max_lut(LUT *Ty, IPlane *f, chord_set *SE, int y, int num)
 {
-    int ret = alloc_lut_if_necessary(Ty, f, SE, y, num, DILATE);
+    int ret = alloc_lut_if_necessary(Ty, f, SE, num, DILATE);
     if (ret < 0)
         return ret;
 



More information about the ffmpeg-cvslog mailing list