summaryrefslogtreecommitdiff
path: root/libavcodec/lossless_videoencdsp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-26 06:30:28 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-31 03:16:35 +0200
commitdc3e25e4d3c152ff87030e89247b3e8d9bdef925 (patch)
treedd81f22dcd1a629085531849342e4959e984eaae /libavcodec/lossless_videoencdsp.c
parentaf43da3e4d861cd408292aefed0dea2121d5521a (diff)
avcodec/lossless_videoencdsp: Constify src sub_left_predict
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/lossless_videoencdsp.c')
-rw-r--r--libavcodec/lossless_videoencdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lossless_videoencdsp.c b/libavcodec/lossless_videoencdsp.c
index e0b78bb3da..b4130ebc7b 100644
--- a/libavcodec/lossless_videoencdsp.c
+++ b/libavcodec/lossless_videoencdsp.c
@@ -74,7 +74,7 @@ static void sub_median_pred_c(uint8_t *dst, const uint8_t *src1,
*left_top = lt;
}
-static void sub_left_predict_c(uint8_t *dst, uint8_t *src,
+static void sub_left_predict_c(uint8_t *dst, const uint8_t *src,
ptrdiff_t stride, ptrdiff_t width, int height)
{
int i, j;