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