summaryrefslogtreecommitdiff
path: root/libavcodec/evc_ps.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-09-15 16:33:13 -0300
committerJames Almer <jamrial@gmail.com>2023-09-15 16:33:13 -0300
commit156f53e9879deefd845f1beffb5c1cadb5ad0ac3 (patch)
treef95d66015b1ff96d4f332bb425685ac68e83e3f1 /libavcodec/evc_ps.c
parent9310ffc809d02d7bbc767555c2ed16311623ffe2 (diff)
avcodec/evc_ps: make the sps parameter in ref_pic_list_struct const
It's not changed. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/evc_ps.c')
-rw-r--r--libavcodec/evc_ps.c2
1 files changed, 1 insertions, 1 deletions
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);