diff mbox series

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

Message ID AM7PR03MB6660C4F72F2C3AC21D6EF12C8FB19@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 0c0d5faf94d3bc4648ac8b07d78143976e480d45
Headers show
Series [FFmpeg-devel,1/8] avfilter/vf_w3fdif: Fix segfault on allocation error | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Oct. 7, 2021, 9:31 a.m. UTC
(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@outlook.com>
---
 libavfilter/asrc_flite.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul B Mahol Oct. 7, 2021, 11:06 a.m. UTC | #1
lgtm
diff mbox series

Patch

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);