diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-26 04:50:55 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-31 03:14:34 +0200 |
commit | af43da3e4d861cd408292aefed0dea2121d5521a (patch) | |
tree | 0ac6937ee93f1cbe9012023f074671cb0ba8a08e /libavcodec/videodsp.h | |
parent | 2793e4353f2ec11084bcdf211c32649c47a704bc (diff) | |
download | ffmpeg-af43da3e4d861cd408292aefed0dea2121d5521a.tar.gz |
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.h | 2 |
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); |