From 0b70fb1d518cbd796545fd6eef02772cd0d892c7 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 10 Feb 2013 00:17:20 +0100 Subject: dsputil: convert remaining op_pixels_func Convert to diffptr_t the line_size parameters still int. Remove all the warnings in dsputil.c --- libavcodec/hpel_template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/hpel_template.c') diff --git a/libavcodec/hpel_template.c b/libavcodec/hpel_template.c index e3d74c5ea2..0c1f756a0c 100644 --- a/libavcodec/hpel_template.c +++ b/libavcodec/hpel_template.c @@ -20,7 +20,7 @@ */ #define DEF_HPEL(OPNAME, OP) \ -static inline void FUNCC(OPNAME ## _pixels2)(uint8_t *block, const uint8_t *pixels, int line_size, int h){\ +static inline void FUNCC(OPNAME ## _pixels2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h){\ int i;\ for(i=0; i