[FFmpeg-cvslog] x86: Drop stray semicolons after function definitions
Diego Biurrun
git at videolan.org
Thu Mar 30 12:05:46 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Oct 30 14:04:08 2015 +0100| [3cba09e5228c889d63814dc43bc68f15c9dbac77] | committer: Diego Biurrun
x86: Drop stray semicolons after function definitions
libavcodec/x86/rv40dsp_init.c:97:2: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
libavcodec/x86/vp9dsp_init.c:94:40: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3cba09e5228c889d63814dc43bc68f15c9dbac77
---
libavcodec/x86/rv40dsp_init.c | 2 +-
libavcodec/x86/vp9dsp_init.c | 20 ++++++++++----------
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c
index 7bf3ecd..f6d4165 100644
--- a/libavcodec/x86/rv40dsp_init.c
+++ b/libavcodec/x86/rv40dsp_init.c
@@ -94,7 +94,7 @@ static void OP ## rv40_qpel ##SIZE ##_mc ##PH ##PV ##OPT(uint8_t *dst, \
ff_ ##OP ##rv40_qpel_h ## OPT(dst + i, stride, src + i, \
stride, SIZE, HCOFF(PH)); \
} \
-};
+}
/** Declare functions for sizes 8 and 16 and given operations
* and qpel position. */
diff --git a/libavcodec/x86/vp9dsp_init.c b/libavcodec/x86/vp9dsp_init.c
index 58aedcb..59cde79 100644
--- a/libavcodec/x86/vp9dsp_init.c
+++ b/libavcodec/x86/vp9dsp_init.c
@@ -100,21 +100,21 @@ ff_vp9_ ## avg ## _8tap_1d_ ## dir ## _ ## sz ## _ ## opt(uint8_t *dst, \
}
#define mc_rep_funcs(sz, hsz, opt, type, f_sz) \
- mc_rep_func(put, sz, hsz, h, opt, type, f_sz); \
- mc_rep_func(avg, sz, hsz, h, opt, type, f_sz); \
- mc_rep_func(put, sz, hsz, v, opt, type, f_sz); \
+ mc_rep_func(put, sz, hsz, h, opt, type, f_sz) \
+ mc_rep_func(avg, sz, hsz, h, opt, type, f_sz) \
+ mc_rep_func(put, sz, hsz, v, opt, type, f_sz) \
mc_rep_func(avg, sz, hsz, v, opt, type, f_sz)
-mc_rep_funcs(16, 8, sse2, int16_t, 8);
+mc_rep_funcs(16, 8, sse2, int16_t, 8)
#if ARCH_X86_32
-mc_rep_funcs(16, 8, ssse3, int8_t, 32);
+mc_rep_funcs(16, 8, ssse3, int8_t, 32)
#endif
-mc_rep_funcs(32, 16, sse2, int16_t, 8);
-mc_rep_funcs(32, 16, ssse3, int8_t, 32);
-mc_rep_funcs(64, 32, sse2, int16_t, 8);
-mc_rep_funcs(64, 32, ssse3, int8_t, 32);
+mc_rep_funcs(32, 16, sse2, int16_t, 8)
+mc_rep_funcs(32, 16, ssse3, int8_t, 32)
+mc_rep_funcs(64, 32, sse2, int16_t, 8)
+mc_rep_funcs(64, 32, ssse3, int8_t, 32)
#if ARCH_X86_64 && HAVE_AVX2_EXTERNAL
-mc_rep_funcs(64, 32, avx2, int8_t, 32);
+mc_rep_funcs(64, 32, avx2, int8_t, 32)
#endif
#undef mc_rep_funcs
More information about the ffmpeg-cvslog
mailing list