summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-10-30 14:04:08 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-05 12:41:45 +0100
commit3cba09e5228c889d63814dc43bc68f15c9dbac77 (patch)
treea997cbbf85eca54b182cf6c90e29c636ba8489c0 /libavcodec/x86
parentd1ef1b9eaa45043ea5df5a004fb37243e05da61d (diff)
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]
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/rv40dsp_init.c2
-rw-r--r--libavcodec/x86/vp9dsp_init.c20
2 files changed, 11 insertions, 11 deletions
diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c
index 7bf3ecd1f3..f6d4165452 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 58aedcbd2d..59cde79d89 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