summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-24 22:26:06 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-26 17:44:41 +0100
commit3c700c82cbee49d1f40b6a7063f4b084ae3ee747 (patch)
treee4a0d895f54dba3c96a3696a07f6651a55ee9cbb
parent9e30859cb60b915f237581e3ce91b0d31592edc0 (diff)
avfilter/vf_unsharp: Remove unnecessary ;
A macro that expands to a function definition might look like a declaration, but it isn't and therefore an extra ';' at the end is unnecessary and actually invalid (both GCC and Clang warn about this when using -pedantic). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavfilter/vf_unsharp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c
index e9b6c9008d..198dbbaa51 100644
--- a/libavfilter/vf_unsharp.c
+++ b/libavfilter/vf_unsharp.c
@@ -139,8 +139,8 @@ static int name##_##nbits(AVFilterContext *ctx, void *arg, int jobnr, int nb_job
} \
return 0; \
}
-DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 16);
-DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 8);
+DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 16)
+DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 8)
static int apply_unsharp_c(AVFilterContext *ctx, AVFrame *in, AVFrame *out)
{