[FFmpeg-devel] [PATCH] avcodec/x86/lossless_audiodsp: Make scalarproduct_and_madd_int16 prototypes more similar

Michael Niedermayer michaelni at gmx.at
Fri Feb 6 00:18:01 CET 2015


This is needed as the mmx code is used as fallback from the ssse3 code

Suggested-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/x86/lossless_audiodsp.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/lossless_audiodsp.asm b/libavcodec/x86/lossless_audiodsp.asm
index 39395fe..5dff835 100644
--- a/libavcodec/x86/lossless_audiodsp.asm
+++ b/libavcodec/x86/lossless_audiodsp.asm
@@ -122,7 +122,7 @@ align 16
 ; int ff_scalarproduct_and_madd_int16(int16_t *v1, int16_t *v2, int16_t *v3,
 ;                                     int order, int mul)
 INIT_XMM ssse3
-cglobal scalarproduct_and_madd_int16, 4,5,10, v1, v2, v3, order, mul
+cglobal scalarproduct_and_madd_int16, 4,4,10, v1, v2, v3, order, mul
     test orderq, 8
         jnz scalarproduct_and_madd_int16_fallback
     shl orderq, 1
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list