[FFmpeg-cvslog] Fix a typo in the x86 asm version of ff_vector_clip_int32()

Justin Ruggles git at videolan.org
Fri Feb 3 04:15:58 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Feb  1 19:02:32 2012 -0500| [236a550c3f9bd3e559eff81d1ac4d2087eaa796f] | committer: Justin Ruggles

Fix a typo in the x86 asm version of ff_vector_clip_int32()

Specifies the correct number of xmm registers used so that they can be saved
and restored on Win64 if necessary.

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

 libavcodec/x86/dsputil_yasm.asm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/x86/dsputil_yasm.asm b/libavcodec/x86/dsputil_yasm.asm
index 611f5c8..09940d1 100644
--- a/libavcodec/x86/dsputil_yasm.asm
+++ b/libavcodec/x86/dsputil_yasm.asm
@@ -1063,7 +1063,7 @@ emu_edge mmx
 ; %4 = CLIPD function takes min/max as float instead of int (CLIPD_SSE2)
 ; %5 = suffix
 %macro VECTOR_CLIP_INT32 4-5
-cglobal vector_clip_int32%5, 5,5,%2, dst, src, min, max, len
+cglobal vector_clip_int32%5, 5,5,%1, dst, src, min, max, len
 %if %4
     cvtsi2ss  m4, minm
     cvtsi2ss  m5, maxm



More information about the ffmpeg-cvslog mailing list