]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_vif: Remove superfluous ';'
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 19 Feb 2021 07:34:57 +0000 (08:34 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 19 Feb 2021 07:34:57 +0000 (08:34 +0100)
Inside a function a superfluous ';' is just a null-statement; yet
outside it is invalid, even though compilers happen to accept them.
They (at least GCC and Clang) only warn about this when on -pedantic.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/vf_vif.c

index c1079c75d9654ca75bd3369718f7ee861ed51d0a..876c7c9120478016adcbd0f5f0b31b6f8dbfd8ae 100644 (file)
@@ -429,8 +429,8 @@ static void offset_##bits##bit(VIFContext *s,            \
     } \
 }
 
-offset_fn(uint8_t, 8);
-offset_fn(uint16_t, 10);
+offset_fn(uint8_t, 8)
+offset_fn(uint16_t, 10)
 
 static void set_meta(AVDictionary **metadata, const char *key, float d)
 {