]> git.sesse.net Git - ffmpeg/commitdiff
x86: Change a missed occurrance of int to ptrdiff_t for strides
authorMartin Storsjö <martin@martin.st>
Sat, 23 Mar 2013 21:35:19 +0000 (23:35 +0200)
committerMartin Storsjö <martin@martin.st>
Sun, 24 Mar 2013 10:06:53 +0000 (12:06 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/x86/h264_qpel.c

index 5b3a287d125c843356b8f0ed16a34454639ffef7..f90982594442986499549f0e951058a26f3b148b 100644 (file)
@@ -475,7 +475,7 @@ LUMA_MC_816(10, mc23, sse2)
 LUMA_MC_816(10, mc33, sse2)
 
 #define QPEL16_OPMC(OP, MC, MMX)\
-void ff_ ## OP ## _h264_qpel16_ ## MC ## _10_ ## MMX(uint8_t *dst, uint8_t *src, int stride){\
+void ff_ ## OP ## _h264_qpel16_ ## MC ## _10_ ## MMX(uint8_t *dst, uint8_t *src, ptrdiff_t stride){\
     ff_ ## OP ## _h264_qpel8_ ## MC ## _10_ ## MMX(dst   , src   , stride);\
     ff_ ## OP ## _h264_qpel8_ ## MC ## _10_ ## MMX(dst+16, src+16, stride);\
     src += 8*stride;\