[FFmpeg-devel] [PATCH 8/8] avfilter/asrc_flite: Remove double ';'

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Oct 7 12:31:28 EEST 2021


(Inside a function a stray ';' is an empty statement; outside of
a function it is actually invalid, but compilers happen to accept
it without complaint (unless e.g. using -pedantic).)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavfilter/asrc_flite.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/asrc_flite.c b/libavfilter/asrc_flite.c
index 6335a81f0e..17e7a5b9bc 100644
--- a/libavfilter/asrc_flite.c
+++ b/libavfilter/asrc_flite.c
@@ -71,7 +71,7 @@ static int flite_inited = 0;
 /* declare functions for all the supported voices */
 #define DECLARE_REGISTER_VOICE_FN(name) \
     cst_voice *register_cmu_us_## name(const char *); \
-    void     unregister_cmu_us_## name(cst_voice *);
+    void     unregister_cmu_us_## name(cst_voice *)
 DECLARE_REGISTER_VOICE_FN(awb);
 DECLARE_REGISTER_VOICE_FN(kal);
 DECLARE_REGISTER_VOICE_FN(kal16);
-- 
2.30.2



More information about the ffmpeg-devel mailing list