[FFmpeg-cvslog] avcodec/evc_ps: make the sps parameter in ref_pic_list_struct const

James Almer git at videolan.org
Fri Sep 15 22:34:22 EEST 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Sep 15 16:33:13 2023 -0300| [156f53e9879deefd845f1beffb5c1cadb5ad0ac3] | committer: James Almer

avcodec/evc_ps: make the sps parameter in ref_pic_list_struct const

It's not changed.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=156f53e9879deefd845f1beffb5c1cadb5ad0ac3
---

 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);



More information about the ffmpeg-cvslog mailing list