aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-27 05:51:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-27 05:52:25 +0200
commita0c5cd3475fd93930604e4ec5ac1336f5732c04b (patch)
tree422219edc1079c03a9b480074680ed0e8f4d9a8e /libavcodec
parenta1cb4efd2ff05421822362b294d4638a2976d81f (diff)
downloadffmpeg-a0c5cd3475fd93930604e4ec5ac1336f5732c04b.tar.gz
avcodec/x86/dsputilenc: set the count of SSE registers correctly for get_pixels
Found-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/dsputilenc.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputilenc.asm b/libavcodec/x86/dsputilenc.asm
index 46330fe116..7426c01dbb 100644
--- a/libavcodec/x86/dsputilenc.asm
+++ b/libavcodec/x86/dsputilenc.asm
@@ -361,7 +361,7 @@ cglobal get_pixels, 3,4
REP_RET
INIT_XMM sse2
-cglobal get_pixels, 3, 4
+cglobal get_pixels, 3, 4, 5
movsxdifnidn r2, r2d
lea r3, [r2*3]
pxor m4, m4