summaryrefslogtreecommitdiff
path: root/libavcodec/mips
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-26 04:50:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-31 03:14:34 +0200
commitaf43da3e4d861cd408292aefed0dea2121d5521a (patch)
tree0ac6937ee93f1cbe9012023f074671cb0ba8a08e /libavcodec/mips
parent2793e4353f2ec11084bcdf211c32649c47a704bc (diff)
avcodec/videodsp: Constify buf in VideoDSPContext.prefetch
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mips')
-rw-r--r--libavcodec/mips/videodsp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mips/videodsp_init.c b/libavcodec/mips/videodsp_init.c
index 07c23bcf7e..89409fc8fd 100644
--- a/libavcodec/mips/videodsp_init.c
+++ b/libavcodec/mips/videodsp_init.c
@@ -24,7 +24,7 @@
#include "libavutil/mips/asmdefs.h"
#include "libavcodec/videodsp.h"
-static void prefetch_mips(uint8_t *mem, ptrdiff_t stride, int h)
+static void prefetch_mips(const uint8_t *mem, ptrdiff_t stride, int h)
{
register const uint8_t *p = mem;