1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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>
This commit is contained in:
Andreas Rheinhardt 2021-01-24 22:26:06 +01:00
parent 9e30859cb6
commit 3c700c82cb

View File

@ -139,8 +139,8 @@ static int name##_##nbits(AVFilterContext *ctx, void *arg, int jobnr, int nb_job
} \ } \
return 0; \ return 0; \
} }
DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 16); DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 16)
DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 8); DEF_UNSHARP_SLICE_FUNC(unsharp_slice, 8)
static int apply_unsharp_c(AVFilterContext *ctx, AVFrame *in, AVFrame *out) static int apply_unsharp_c(AVFilterContext *ctx, AVFrame *in, AVFrame *out)
{ {