From c34e3920f25791e9bdda3a5829c1fcdb0f37a070 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 29 Jun 2022 16:49:24 +0200 Subject: avcodec/hevc_refs: Constify ff_hevc_get_ref_list() Signed-off-by: Andreas Rheinhardt --- libavcodec/hevcdec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/hevcdec.h') diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index ff2199aa5a..f6acf845ae 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -584,8 +584,8 @@ void ff_hevc_clear_refs(HEVCContext *s); */ void ff_hevc_flush_dpb(HEVCContext *s); -RefPicList *ff_hevc_get_ref_list(HEVCContext *s, HEVCFrame *frame, - int x0, int y0); +const RefPicList *ff_hevc_get_ref_list(const HEVCContext *s, const HEVCFrame *frame, + int x0, int y0); /** * Construct the reference picture sets for the current frame. -- cgit v1.2.3