summaryrefslogtreecommitdiff
path: root/libavcodec/loongarch
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/loongarch
parent2793e4353f2ec11084bcdf211c32649c47a704bc (diff)
downloadffmpeg-af43da3e4d861cd408292aefed0dea2121d5521a.tar.gz
avcodec/videodsp: Constify buf in VideoDSPContext.prefetch
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/loongarch')
-rw-r--r--libavcodec/loongarch/videodsp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/loongarch/videodsp_init.c b/libavcodec/loongarch/videodsp_init.c
index 6cbb7763ff..92ade4f846 100644
--- a/libavcodec/loongarch/videodsp_init.c
+++ b/libavcodec/loongarch/videodsp_init.c
@@ -22,7 +22,7 @@
#include "libavcodec/videodsp.h"
#include "libavutil/attributes.h"
-static void prefetch_loongarch(uint8_t *mem, ptrdiff_t stride, int h)
+static void prefetch_loongarch(const uint8_t *mem, ptrdiff_t stride, int h)
{
register const uint8_t *p = mem;