aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-10-08 16:45:36 +0200
committerNiklas Haas <git@haasn.dev>2024-10-08 16:45:36 +0200
commit477445722cc0d67439ca151c9d486c1bfca7a084 (patch)
tree199347ed1a29bf0a26e2ecc26e9f1a05c7ad6be6
parentb9145fcab27da9e14c6929036d771afd1907a771 (diff)
downloadffmpeg-477445722cc0d67439ca151c9d486c1bfca7a084.tar.gz
swscale/ppc: fix altivec build failure
Fixes: c1a0e657638f7007dcc807a2d985c22631fcd6d3
-rw-r--r--libswscale/ppc/yuv2yuv_altivec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libswscale/ppc/yuv2yuv_altivec.c b/libswscale/ppc/yuv2yuv_altivec.c
index 728e4d210c..d63feb6012 100644
--- a/libswscale/ppc/yuv2yuv_altivec.c
+++ b/libswscale/ppc/yuv2yuv_altivec.c
@@ -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,