From 2bbbf36fe226e0de8d01fe9a2a2a04768b84d501 Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Fri, 8 Nov 2024 18:17:01 +1100 Subject: [PATCH] avcodec/rv60: set populate_ipred src parameter to const --- libavcodec/rv60dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/rv60dec.c b/libavcodec/rv60dec.c index 96f121197a..091018cc56 100644 --- a/libavcodec/rv60dec.c +++ b/libavcodec/rv60dec.c @@ -485,7 +485,7 @@ static void ipred_init(IntraPredContext * i) i->has_t = i->has_tr = i->has_l = i->has_ld = 0; } -static void populate_ipred(const RV60Context * s, CUContext * cu, uint8_t * src, int stride, int xoff, int yoff, int size, int is_luma) +static void populate_ipred(const RV60Context * s, CUContext * cu, const uint8_t * src, int stride, int xoff, int yoff, int size, int is_luma) { if (is_luma) src += (cu->ypos + yoff) * stride + cu->xpos + xoff;