From d595e0a0b6d1998a4e7367958dceec217041c98e Mon Sep 17 00:00:00 2001 From: Nuo Mi Date: Wed, 17 Jan 2024 10:15:33 +0800 Subject: [PATCH] avcodec/vvcdec: misc, constify hor_ctu_edge Signed-off-by: James Almer --- libavcodec/vvc/vvc_filter_template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/vvc/vvc_filter_template.c b/libavcodec/vvc/vvc_filter_template.c index 845c8a4181..b7eaef5125 100644 --- a/libavcodec/vvc/vvc_filter_template.c +++ b/libavcodec/vvc/vvc_filter_template.c @@ -545,7 +545,7 @@ static void FUNC(loop_filter_luma_large)(pixel *pix, const ptrdiff_t xstride, co static void FUNC(vvc_loop_filter_luma)(uint8_t* _pix, ptrdiff_t _xstride, ptrdiff_t _ystride, const int32_t *_beta, const int32_t *_tc, const uint8_t *_no_p, const uint8_t *_no_q, - const uint8_t *_max_len_p, const uint8_t *_max_len_q, int hor_ctu_edge) + const uint8_t *_max_len_p, const uint8_t *_max_len_q, const int hor_ctu_edge) { const ptrdiff_t xstride = _xstride / sizeof(pixel); const ptrdiff_t ystride = _ystride / sizeof(pixel); @@ -771,7 +771,7 @@ static void FUNC(vvc_v_loop_filter_chroma)(uint8_t *pix, ptrdiff_t stride, static void FUNC(vvc_h_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride, const int32_t *beta, const int32_t *tc, const uint8_t *no_p, const uint8_t *no_q, - const uint8_t *max_len_p, const uint8_t *max_len_q, int hor_ctu_edge) + const uint8_t *max_len_p, const uint8_t *max_len_q, const int hor_ctu_edge) { FUNC(vvc_loop_filter_luma)(pix, stride, sizeof(pixel), beta, tc, no_p, no_q, max_len_p, max_len_q, hor_ctu_edge); @@ -779,7 +779,7 @@ static void FUNC(vvc_h_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride, static void FUNC(vvc_v_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride, const int32_t *beta, const int32_t *tc, const uint8_t *no_p, const uint8_t *no_q, - const uint8_t *max_len_p, const uint8_t *max_len_q, int hor_ctu_edge) + const uint8_t *max_len_p, const uint8_t *max_len_q, const int hor_ctu_edge) { FUNC(vvc_loop_filter_luma)(pix, sizeof(pixel), stride, beta, tc, no_p, no_q, max_len_p, max_len_q, hor_ctu_edge);