summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-05-08 16:17:52 +0200
committerPaul B Mahol <onemda@gmail.com>2023-05-08 17:48:43 +0200
commitdf886171a6bb09123986143734d104ba1ad0ed22 (patch)
treed042e3af628452b1abd210544ff032131e17723a /libavfilter
parentbbe410a7fd912277f99b9c071f9ca095b201ef34 (diff)
downloadffmpeg-df886171a6bb09123986143734d104ba1ad0ed22.tar.gz
avfilter/vf_morpho: remove unused function's argument
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_morpho.c6
1 files 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;