[FFmpeg-cvslog] x86: Change a missed occurrance of int to ptrdiff_t for strides

Martin Storsjö git at videolan.org
Sun Mar 24 12:07:45 CET 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat Mar 23 23:35:19 2013 +0200| [285ff14413718ef70b3d992be24472c12cbc481c] | committer: Martin Storsjö

x86: Change a missed occurrance of int to ptrdiff_t for strides

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavcodec/x86/h264_qpel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/h264_qpel.c b/libavcodec/x86/h264_qpel.c
index 5b3a287..f909825 100644
--- a/libavcodec/x86/h264_qpel.c
+++ b/libavcodec/x86/h264_qpel.c
@@ -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;\



More information about the ffmpeg-cvslog mailing list