]> git.sesse.net Git - ffmpeg/commitdiff
float_dsp: Have implementation match function pointer prototype
authorDiego Biurrun <diego@biurrun.de>
Mon, 31 Oct 2016 23:33:05 +0000 (00:33 +0100)
committerDiego Biurrun <diego@biurrun.de>
Thu, 3 Nov 2016 16:43:55 +0000 (17:43 +0100)
libavutil/x86/float_dsp_init.c(144) : warning C4028: formal parameter 1 different from declaration
libavutil/x86/float_dsp_init.c(144) : warning C4028: formal parameter 2 different from declaration

libavutil/x86/float_dsp_init.c

index b70433031a8ce668e92535abd20e643844c1b3d9..dcbe3f1f3cdc92c3b64c1f316301b4c042b84fdc 100644 (file)
@@ -54,7 +54,7 @@ void ff_vector_fmul_reverse_avx(float *dst, const float *src0,
 
 float ff_scalarproduct_float_sse(const float *v1, const float *v2, int order);
 
-void ff_butterflies_float_sse(float *src0, float *src1, int len);
+void ff_butterflies_float_sse(float *restrict src0, float *restrict src1, int len);
 
 #if HAVE_6REGS && HAVE_INLINE_ASM
 static void vector_fmul_window_3dnowext(float *dst, const float *src0,