avcodec/x86/dsputilenc: set the count of SSE registers correctly for get_pixels
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 27 May 2014 03:51:42 +0000 (05:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 27 May 2014 03:52:25 +0000 (05:52 +0200)
Found-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/dsputilenc.asm

index 46330fe..7426c01 100644 (file)
@@ -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