[FFmpeg-cvslog] avfilter/vf_vif: Remove superfluous ';'

Andreas Rheinhardt git at videolan.org
Fri Feb 19 09:38:24 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Feb 19 08:34:57 2021 +0100| [14dc28e969f642a8ba0dd28431f6ba30c5e30d7c] | committer: Andreas Rheinhardt

avfilter/vf_vif: Remove superfluous ';'

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14dc28e969f642a8ba0dd28431f6ba30c5e30d7c
---

 libavfilter/vf_vif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_vif.c b/libavfilter/vf_vif.c
index c1079c75d9..876c7c9120 100644
--- a/libavfilter/vf_vif.c
+++ b/libavfilter/vf_vif.c
@@ -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)
 {



More information about the ffmpeg-cvslog mailing list