mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 18:32:22 +00:00
x86: dsputil: int --> ptrdiff_t for ff_put_pixels16_mmxext line_size param
This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic. Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
202b5f6deb
commit
7a03145ed7
@ -147,7 +147,7 @@ void ff_avg_pixels8_xy2_3dnow(uint8_t *block, const uint8_t *pixels,
|
||||
|
||||
void ff_put_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h);
|
||||
static void ff_put_pixels16_mmxext(uint8_t *block, const uint8_t *pixels,
|
||||
int line_size, int h)
|
||||
ptrdiff_t line_size, int h)
|
||||
{
|
||||
ff_put_pixels8_mmxext(block, pixels, line_size, h);
|
||||
ff_put_pixels8_mmxext(block + 8, pixels + 8, line_size, h);
|
||||
|
Loading…
Reference in New Issue
Block a user