diff --git a/libavcodec/x86/fpelbase.asm b/libavcodec/x86/fpelbase.asm index a327206d6c..dc363d1a63 100644 --- a/libavcodec/x86/fpelbase.asm +++ b/libavcodec/x86/fpelbase.asm @@ -26,7 +26,7 @@ SECTION .text INIT_MMX mmxext -; void pixels(uint8_t *block, const uint8_t *pixels, int line_size, int h) +; void pixels(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) %macro PIXELS48 2 %if %2 == 4 %define OP movh diff --git a/libavcodec/x86/h264_qpel.c b/libavcodec/x86/h264_qpel.c index 1e1ee4ecaa..4c37ee5472 100644 --- a/libavcodec/x86/h264_qpel.c +++ b/libavcodec/x86/h264_qpel.c @@ -28,17 +28,20 @@ #include "dsputil_mmx.h" #if HAVE_YASM -void ff_put_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, int line_size, int h); -void ff_avg_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, int line_size, int h); -void ff_put_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, int line_size, int h); +void ff_put_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); +void ff_avg_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); +void ff_put_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); static void ff_put_pixels16_mmxext(uint8_t *block, const uint8_t *pixels, - int line_size, int h) + ptrdiff_t line_size, int h) { ff_put_pixels8_mmxext(block, pixels, line_size, h); ff_put_pixels8_mmxext(block + 8, pixels + 8, line_size, h); } static void ff_avg_pixels16_mmxext(uint8_t *block, const uint8_t *pixels, - int line_size, int h) + ptrdiff_t line_size, int h) { ff_avg_pixels8_mmxext(block, pixels, line_size, h); ff_avg_pixels8_mmxext(block + 8, pixels + 8, line_size, h);