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/jrevdct.c | |
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/jrevdct.c')
-rw-r--r-- | libavcodec/jrevdct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/jrevdct.c b/libavcodec/jrevdct.c index 96a884ae87..808f5838c5 100644 --- a/libavcodec/jrevdct.c +++ b/libavcodec/jrevdct.c @@ -943,13 +943,13 @@ void ff_j_rev_dct(DCTBLOCK data) } } -void ff_jref_idct_put(uint8_t *dest, int line_size, int16_t *block) +void ff_jref_idct_put(uint8_t *dest, ptrdiff_t line_size, int16_t *block) { ff_j_rev_dct(block); ff_put_pixels_clamped(block, dest, line_size); } -void ff_jref_idct_add(uint8_t *dest, int line_size, int16_t *block) +void ff_jref_idct_add(uint8_t *dest, ptrdiff_t line_size, int16_t *block) { ff_j_rev_dct(block); ff_add_pixels_clamped(block, dest, line_size); |