diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-07-18 23:35:41 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-23 17:21:58 +0200 |
commit | 7a7ed1699c3b08d23ed5ab4955544f146e88b59b (patch) | |
tree | a57559ef9bc7f340c719e48a43e25d67e450ae7a /libavcodec/mips/xvid_idct_mmi.c | |
parent | e2fa12e3ae0494a72f5d0d4a67633805746391c1 (diff) | |
download | ffmpeg-7a7ed1699c3b08d23ed5ab4955544f146e88b59b.tar.gz |
libavcodec: MIPS: MMI: Fix type mismatches
GCC complains about them.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips/xvid_idct_mmi.c')
-rw-r--r-- | libavcodec/mips/xvid_idct_mmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mips/xvid_idct_mmi.c b/libavcodec/mips/xvid_idct_mmi.c index d3f9acb0e2..b822b8add8 100644 --- a/libavcodec/mips/xvid_idct_mmi.c +++ b/libavcodec/mips/xvid_idct_mmi.c @@ -240,13 +240,13 @@ void ff_xvid_idct_mmi(int16_t *block) ); } -void ff_xvid_idct_put_mmi(uint8_t *dest, int32_t line_size, int16_t *block) +void ff_xvid_idct_put_mmi(uint8_t *dest, ptrdiff_t line_size, int16_t *block) { ff_xvid_idct_mmi(block); ff_put_pixels_clamped_mmi(block, dest, line_size); } -void ff_xvid_idct_add_mmi(uint8_t *dest, int32_t line_size, int16_t *block) +void ff_xvid_idct_add_mmi(uint8_t *dest, ptrdiff_t line_size, int16_t *block) { ff_xvid_idct_mmi(block); ff_add_pixels_clamped_mmi(block, dest, line_size); |