[FFmpeg-devel] [PATCH] libavcodec/aarch64/hevc: Require consistent use of trailing semicolon

Martin Storsjö martin at martin.st
Tue Sep 26 15:54:23 EEST 2023


---
Some patches had inconsistent semicolons when invoking these macros.
By omitting the trailing semicolon in the macro, it requires the
callers to use it consistently.
---
 libavcodec/aarch64/hevcdsp_init_aarch64.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/aarch64/hevcdsp_init_aarch64.c b/libavcodec/aarch64/hevcdsp_init_aarch64.c
index 782cf802f6..d5b973d2e0 100644
--- a/libavcodec/aarch64/hevcdsp_init_aarch64.c
+++ b/libavcodec/aarch64/hevcdsp_init_aarch64.c
@@ -137,20 +137,20 @@ void ff_hevc_put_hevc_qpel_bi_h16_8_neon(uint8_t *_dst, ptrdiff_t _dststride, co
     void ff_hevc_put_hevc_##fn##24_8_neon##ext args; \
     void ff_hevc_put_hevc_##fn##32_8_neon##ext args; \
     void ff_hevc_put_hevc_##fn##48_8_neon##ext args; \
-    void ff_hevc_put_hevc_##fn##64_8_neon##ext args; \
+    void ff_hevc_put_hevc_##fn##64_8_neon##ext args
 
 #define NEON8_FNPROTO_PARTIAL_4(fn, args, ext) \
     void ff_hevc_put_hevc_##fn##4_8_neon##ext args; \
     void ff_hevc_put_hevc_##fn##8_8_neon##ext args; \
     void ff_hevc_put_hevc_##fn##16_8_neon##ext args; \
-    void ff_hevc_put_hevc_##fn##64_8_neon##ext args; \
+    void ff_hevc_put_hevc_##fn##64_8_neon##ext args
 
 #define NEON8_FNPROTO_PARTIAL_5(fn, args, ext) \
     void ff_hevc_put_hevc_##fn##4_8_neon##ext args; \
     void ff_hevc_put_hevc_##fn##8_8_neon##ext args; \
     void ff_hevc_put_hevc_##fn##16_8_neon##ext args; \
     void ff_hevc_put_hevc_##fn##32_8_neon##ext args; \
-    void ff_hevc_put_hevc_##fn##64_8_neon##ext args; \
+    void ff_hevc_put_hevc_##fn##64_8_neon##ext args
 
 NEON8_FNPROTO(pel_uni_pixels, (uint8_t *_dst, ptrdiff_t _dststride,
         const uint8_t *_src, ptrdiff_t _srcstride,
-- 
2.39.2 (Apple Git-143)



More information about the ffmpeg-devel mailing list