[FFmpeg-cvslog] float_dsp: Have implementation match function pointer prototype

Diego Biurrun git at videolan.org
Thu Mar 30 11:28:17 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Nov  1 00:33:05 2016 +0100| [99434f4df81b6801b2b535d5b9143305595784f6] | committer: Diego Biurrun

float_dsp: Have implementation match function pointer prototype

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=99434f4df81b6801b2b535d5b9143305595784f6
---

 libavutil/x86/float_dsp_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/x86/float_dsp_init.c b/libavutil/x86/float_dsp_init.c
index b704330..dcbe3f1 100644
--- a/libavutil/x86/float_dsp_init.c
+++ b/libavutil/x86/float_dsp_init.c
@@ -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,



More information about the ffmpeg-cvslog mailing list