summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264dsp.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-09-21 03:34:51 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-09-23 04:10:44 +0200
commitbc26fe89275c267d169b468356c82ee59874407d (patch)
tree3ca02c6f344bb00917f301378b8571f8dd5f81d3 /libavcodec/h264dsp.h
parent289a6bb8b11822aaea1b174d5d938a081e19a084 (diff)
downloadffmpeg-streaming-bc26fe89275c267d169b468356c82ee59874407d.zip
ffmpeg-streaming-bc26fe89275c267d169b468356c82ee59874407d.tar.gz
avcodec/h264: Use ptrdiff_t for (bi)weight functions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264dsp.h')
-rw-r--r--libavcodec/h264dsp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/h264dsp.h b/libavcodec/h264dsp.h
index 7f24376..bcd76ab 100644
--- a/libavcodec/h264dsp.h
+++ b/libavcodec/h264dsp.h
@@ -28,11 +28,12 @@
#define AVCODEC_H264DSP_H
#include <stdint.h>
+#include <stddef.h>
-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);
/**
OpenPOWER on IntegriCloud