]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_unsharp: Remove unnecessary ;
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 24 Jan 2021 21:26:06 +0000 (22:26 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 26 Jan 2021 16:44:41 +0000 (17:44 +0100)
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>
libavfilter/vf_unsharp.c

index e9b6c9008d46154ddecf1f5c114cafb70ed43674..198dbbaa518be59d7ec830d688f493faa41d082b 100644 (file)
@@ -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)
 {