summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/mpegvideodsp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-26 08:20:14 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-31 03:44:16 +0200
commit209a11053f3249e1f5f36a6a74089df92181d25a (patch)
treedc2a02664464a11c092570585133d5902455ce1c /libavcodec/ppc/mpegvideodsp.c
parent966fc1230a68d4107994038b71c3200b069ed22e (diff)
avcodec/mpegvideodsp: Constify src pointers
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ppc/mpegvideodsp.c')
-rw-r--r--libavcodec/ppc/mpegvideodsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/mpegvideodsp.c b/libavcodec/ppc/mpegvideodsp.c
index 42d65dbe3d..3e99e089ea 100644
--- a/libavcodec/ppc/mpegvideodsp.c
+++ b/libavcodec/ppc/mpegvideodsp.c
@@ -31,7 +31,7 @@
#if HAVE_ALTIVEC
/* AltiVec-enhanced gmc1. ATM this code assumes stride is a multiple of 8
* to preserve proper dst alignment. */
-static void gmc1_altivec(uint8_t *dst /* align 8 */, uint8_t *src /* align1 */,
+static void gmc1_altivec(uint8_t *dst /* align 8 */, const uint8_t *src /* align1 */,
int stride, int h, int x16, int y16, int rounder)
{
int i;