diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-08 16:13:04 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-29 15:48:03 +0300 |
commit | b2939a75270bc7e971462648168aa3a2a48c1c8c (patch) | |
tree | fed2c4b0ef2b3942aaec5d8138aca36fa3700bb3 /libavcodec/blockdsp.h | |
parent | 3281d823cdc7601c4900eb103958c05f59f65555 (diff) |
blockdsp: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/blockdsp.h')
-rw-r--r-- | libavcodec/blockdsp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/blockdsp.h b/libavcodec/blockdsp.h index 5b5639f5a6..e555d29b60 100644 --- a/libavcodec/blockdsp.h +++ b/libavcodec/blockdsp.h @@ -19,6 +19,7 @@ #ifndef AVCODEC_BLOCKDSP_H #define AVCODEC_BLOCKDSP_H +#include <stddef.h> #include <stdint.h> #include "avcodec.h" @@ -29,7 +30,7 @@ * h for op_pixels_func is limited to { width / 2, width }, * but never larger than 16 and never smaller than 4. */ typedef void (*op_fill_func)(uint8_t *block /* align width (8 or 16) */, - uint8_t value, int line_size, int h); + uint8_t value, ptrdiff_t line_size, int h); typedef struct BlockDSPContext { void (*clear_block)(int16_t *block /* align 16 */); |