swscale/ppc: fix altivec build failure

Fixes: c1a0e65763
This commit is contained in:
Niklas Haas 2024-10-08 16:45:36 +02:00
parent b9145fcab2
commit 477445722c
1 changed files with 8 additions and 8 deletions

View File

@ -31,10 +31,10 @@
#if HAVE_ALTIVEC
static int yv12toyuy2_unscaled_altivec(SwsContext *c, const uint8_t *src[],
int srcStride[], int srcSliceY,
int srcSliceH, uint8_t *dstParam[],
int dstStride_a[])
static int yv12toyuy2_unscaled_altivec(SwsContext *c, const uint8_t *const src[],
const int srcStride[], int srcSliceY,
int srcSliceH, uint8_t *const dstParam[],
const int dstStride_a[])
{
uint8_t *dst = dstParam[0] + dstStride_a[0] * srcSliceY;
// yv12toyuy2(src[0], src[1], src[2], dst, c->srcW, srcSliceH,
@ -107,10 +107,10 @@ static int yv12toyuy2_unscaled_altivec(SwsContext *c, const uint8_t *src[],
return srcSliceH;
}
static int yv12touyvy_unscaled_altivec(SwsContext *c, const uint8_t *src[],
int srcStride[], int srcSliceY,
int srcSliceH, uint8_t *dstParam[],
int dstStride_a[])
static int yv12touyvy_unscaled_altivec(SwsContext *c, const uint8_t *const src[],
const int srcStride[], int srcSliceY,
int srcSliceH, uint8_t *const dstParam[],
const int dstStride_a[])
{
uint8_t *dst = dstParam[0] + dstStride_a[0] * srcSliceY;
// yv12toyuy2(src[0], src[1], src[2], dst, c->srcW, srcSliceH,