diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-07 18:02:06 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-29 15:48:03 +0300 |
commit | 2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428 (patch) | |
tree | da4a550527ba5dc67e81e3f384b048fc2250f583 /libavcodec/tests | |
parent | b2939a75270bc7e971462648168aa3a2a48c1c8c (diff) |
idct: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/tests')
-rw-r--r-- | libavcodec/tests/dct.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/tests/dct.c b/libavcodec/tests/dct.c index 6c6a4e0d0d..84ad5f3e80 100644 --- a/libavcodec/tests/dct.c +++ b/libavcodec/tests/dct.c @@ -253,7 +253,7 @@ static int dct_error(const struct algo *dct, int test, int is_idct, int speed) DECLARE_ALIGNED(8, static uint8_t, img_dest)[64]; DECLARE_ALIGNED(8, static uint8_t, img_dest1)[64]; -static void idct248_ref(uint8_t *dest, int linesize, int16_t *block) +static void idct248_ref(uint8_t *dest, ptrdiff_t linesize, int16_t *block) { static int init; static double c8[8][8]; @@ -334,7 +334,8 @@ static void idct248_ref(uint8_t *dest, int linesize, int16_t *block) } static void idct248_error(const char *name, - void (*idct248_put)(uint8_t *dest, int line_size, + void (*idct248_put)(uint8_t *dest, + ptrdiff_t line_size, int16_t *block), int speed) { |