diff options
author | James Almer <jamrial@gmail.com> | 2014-09-24 19:51:02 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-09-24 21:43:19 -0300 |
commit | c99a8828148949430608c3866e671a599a5805ba (patch) | |
tree | 0dfd6f0da4a1b38da0ad5f3665833d8ac05c3d75 /libavcodec/idctdsp.c | |
parent | 6441d522e9fe496b62baa667f063db2bc614cef1 (diff) | |
download | ffmpeg-c99a8828148949430608c3866e671a599a5805ba.tar.gz |
avcodec/idctdsp: change {put,add}_pixels_clamped to ptrdiff_t line_size
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/idctdsp.c')
-rw-r--r-- | libavcodec/idctdsp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/idctdsp.c b/libavcodec/idctdsp.c index 75695ef437..b4972211de 100644 --- a/libavcodec/idctdsp.c +++ b/libavcodec/idctdsp.c @@ -80,11 +80,11 @@ av_cold void ff_init_scantable_permutation(uint8_t *idct_permutation, } } -void (*ff_put_pixels_clamped)(const int16_t *block, uint8_t *pixels, int line_size); -void (*ff_add_pixels_clamped)(const int16_t *block, uint8_t *pixels, int line_size); +void (*ff_put_pixels_clamped)(const int16_t *block, uint8_t *pixels, ptrdiff_t line_size); +void (*ff_add_pixels_clamped)(const int16_t *block, uint8_t *pixels, ptrdiff_t line_size); static void put_pixels_clamped_c(const int16_t *block, uint8_t *av_restrict pixels, - int line_size) + ptrdiff_t line_size) { int i; @@ -138,7 +138,7 @@ static void put_pixels_clamped2_c(const int16_t *block, uint8_t *av_restrict pix static void put_signed_pixels_clamped_c(const int16_t *block, uint8_t *av_restrict pixels, - int line_size) + ptrdiff_t line_size) { int i, j; @@ -158,7 +158,7 @@ static void put_signed_pixels_clamped_c(const int16_t *block, } static void add_pixels_clamped_c(const int16_t *block, uint8_t *av_restrict pixels, - int line_size) + ptrdiff_t line_size) { int i; |