summaryrefslogtreecommitdiff
path: root/libavcodec/videodsp.h
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/videodsp.h
parent2793e4353f2ec11084bcdf211c32649c47a704bc (diff)
avcodec/videodsp: Constify buf in VideoDSPContext.prefetch
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/videodsp.h')
-rw-r--r--libavcodec/videodsp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/videodsp.h b/libavcodec/videodsp.h
index b5219d236c..e8960b609d 100644
--- a/libavcodec/videodsp.h
+++ b/libavcodec/videodsp.h
@@ -72,7 +72,7 @@ typedef struct VideoDSPContext {
* @param stride distance between two lines of buf (in bytes)
* @param h number of lines to prefetch
*/
- void (*prefetch)(uint8_t *buf, ptrdiff_t stride, int h);
+ void (*prefetch)(const uint8_t *buf, ptrdiff_t stride, int h);
} VideoDSPContext;
void ff_videodsp_init(VideoDSPContext *ctx, int bpc);