From bc26fe89275c267d169b468356c82ee59874407d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 21 Sep 2016 03:34:51 +0200 Subject: avcodec/h264: Use ptrdiff_t for (bi)weight functions Signed-off-by: Michael Niedermayer --- libavcodec/h264dsp.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libavcodec/h264dsp.h') diff --git a/libavcodec/h264dsp.h b/libavcodec/h264dsp.h index 7f24376b89..bcd76abcc1 100644 --- a/libavcodec/h264dsp.h +++ b/libavcodec/h264dsp.h @@ -28,11 +28,12 @@ #define AVCODEC_H264DSP_H #include +#include -typedef void (*h264_weight_func)(uint8_t *block, int stride, int height, +typedef void (*h264_weight_func)(uint8_t *block, ptrdiff_t stride, int height, int log2_denom, int weight, int offset); typedef void (*h264_biweight_func)(uint8_t *dst, uint8_t *src, - int stride, int height, int log2_denom, + ptrdiff_t stride, int height, int log2_denom, int weightd, int weights, int offset); /** -- cgit v1.2.3