aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-21 14:29:52 -0300
committerJames Almer <jamrial@gmail.com>2017-03-21 14:29:52 -0300
commit5a49097b42cbc3eab888d15a91eeaf5520b5c381 (patch)
tree080300f20bca98deac895f2ca86a25b72a8428e8 /libavcodec/tests
parent2c8a3aa985acc906ecab37357f2798da7cb9822d (diff)
parent2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428 (diff)
downloadffmpeg-5a49097b42cbc3eab888d15a91eeaf5520b5c381.tar.gz
Merge commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428'
* commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428': idct: Change type of array stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/tests')
-rw-r--r--libavcodec/tests/dct.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/tests/dct.c b/libavcodec/tests/dct.c
index 4f0e0d958e..29af3fea8a 100644
--- a/libavcodec/tests/dct.c
+++ b/libavcodec/tests/dct.c
@@ -284,7 +284,7 @@ static int dct_error(const struct algo *dct, int test, int is_idct, int speed, c
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];
@@ -365,7 +365,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)
{