From 156f53e9879deefd845f1beffb5c1cadb5ad0ac3 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 15 Sep 2023 16:33:13 -0300 Subject: [PATCH] avcodec/evc_ps: make the sps parameter in ref_pic_list_struct const It's not changed. Signed-off-by: James Almer --- libavcodec/evc_ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/evc_ps.c b/libavcodec/evc_ps.c index 28cf5378e4..6f93f5b373 100644 --- a/libavcodec/evc_ps.c +++ b/libavcodec/evc_ps.c @@ -24,7 +24,7 @@ #define EXTENDED_SAR 255 // @see ISO_IEC_23094-1 (7.3.7 Reference picture list structure syntax) -static int ref_pic_list_struct(EVCParserSPS *sps, GetBitContext *gb, RefPicListStruct *rpl) +static int ref_pic_list_struct(const EVCParserSPS *sps, GetBitContext *gb, RefPicListStruct *rpl) { uint32_t delta_poc_st, strp_entry_sign_flag = 0; rpl->ref_pic_num = get_ue_golomb_long(gb);