diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-21 11:46:49 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-21 13:52:44 +0200 |
commit | c5e204c84f98cba85f0bc22bf1719adff8619533 (patch) | |
tree | 752f99c7534db6faea6f7c6b92de7ba496352ebd /libavresample/dither.c | |
parent | bbe92ed9b1122437dfa3120338b36816523cc491 (diff) | |
download | ffmpeg-c5e204c84f98cba85f0bc22bf1719adff8619533.tar.gz |
avfilter/vf_overlay: Remove superfluous ;
In a function body, a redundant ; is just a null statement that does
nothing. Yet outside a function body, a superfluous ';' like one that
exists if one adds a ';' immediately after a function body's closing
brace is actually invalid C that compilers happen to accept. Yet when
compiled in -pedantic mode, both GCC as well as Clang emit warnings for
this like "ISO C does not allow extra ‘;’ outside of a function
[-Wpedantic]".
The scenario described above existed in vf_overlay.c as a result of
macro expansion. This commit fixes it.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavresample/dither.c')
0 files changed, 0 insertions, 0 deletions