Browse Source

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>
tags/n4.4
Andreas Rheinhardt 4 years ago
parent
commit
3c700c82cb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/vf_unsharp.c

+ 2
- 2
libavfilter/vf_unsharp.c View 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)
{


Loading…
Cancel
Save