From 800fbc98a5e8f62541c6534458089c67a71880ba Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 10 Sep 2023 12:17:21 +0200 Subject: [PATCH] avcodec/magicyuvenc: use const for src pointer --- libavcodec/magicyuvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/magicyuvenc.c b/libavcodec/magicyuvenc.c index 429efccd24..2773239297 100644 --- a/libavcodec/magicyuvenc.c +++ b/libavcodec/magicyuvenc.c @@ -413,7 +413,7 @@ static int encode_table(AVCodecContext *avctx, return 0; } -static int encode_plane_slice(uint8_t *src, uint8_t *dst, int dst_size, +static int encode_plane_slice(const uint8_t *src, uint8_t *dst, int dst_size, int width, int height, HuffEntry *he, int prediction) { PutBitContext pb;