aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/blockdsp.c
diff options
context:
space:
mode:
authorDiego Biurrun2016-09-08 15:13:04 +0200
committerDiego Biurrun2016-09-29 14:48:03 +0200
commitb2939a75270bc7e971462648168aa3a2a48c1c8c (patch)
treefed2c4b0ef2b3942aaec5d8138aca36fa3700bb3 /libavcodec/blockdsp.c
parent3281d823cdc7601c4900eb103958c05f59f65555 (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.c')
-rw-r--r--libavcodec/blockdsp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/blockdsp.c b/libavcodec/blockdsp.c
index a35df8c7b1..2c396f1f61 100644
--- a/libavcodec/blockdsp.c
+++ b/libavcodec/blockdsp.c
@@ -35,7 +35,8 @@ static void clear_blocks_8_c(int16_t *blocks)
memset(blocks, 0, sizeof(int16_t) * 6 * 64);
}
-static void fill_block16_c(uint8_t *block, uint8_t value, int line_size, int h)
+static void fill_block16_c(uint8_t *block, uint8_t value, ptrdiff_t line_size,
+ int h)
{
int i;
@@ -45,7 +46,8 @@ static void fill_block16_c(uint8_t *block, uint8_t value, int line_size, int h)
}
}
-static void fill_block8_c(uint8_t *block, uint8_t value, int line_size, int h)
+static void fill_block8_c(uint8_t *block, uint8_t value, ptrdiff_t line_size,
+ int h)
{
int i;