diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 13:16:31 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 13:22:19 +0100 |
commit | 0ddca7d416cc8b80d9943405d6d0bb39bc2dec06 (patch) | |
tree | 78c1a6834e65ea7376353819338482c5eea83b2e /libavcodec/x86 | |
parent | ede45c4e1da8bd2fefc89ea63e57a49e6c0a3e19 (diff) | |
download | ffmpeg-streaming-0ddca7d416cc8b80d9943405d6d0bb39bc2dec06.zip ffmpeg-streaming-0ddca7d416cc8b80d9943405d6d0bb39bc2dec06.tar.gz |
dsputil: fixup half a dozen bugs with ptrdiff vs int linesize
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/dsputil_mmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index 271d2b3..0db4143 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -468,7 +468,7 @@ void ff_add_pixels_clamped_mmx(const int16_t *block, uint8_t *pixels, } static void put_pixels8_mmx(uint8_t *block, const uint8_t *pixels, - int line_size, int h) + ptrdiff_t line_size, int h) { __asm__ volatile ( "lea (%3, %3), %%"REG_a" \n\t" @@ -495,7 +495,7 @@ static void put_pixels8_mmx(uint8_t *block, const uint8_t *pixels, } static void put_pixels16_mmx(uint8_t *block, const uint8_t *pixels, - int line_size, int h) + ptrdiff_t line_size, int h) { __asm__ volatile ( "lea (%3, %3), %%"REG_a" \n\t" |