summaryrefslogtreecommitdiff
path: root/libavcodec/hevcdec.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-29 16:49:24 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-09 20:28:02 +0200
commitc34e3920f25791e9bdda3a5829c1fcdb0f37a070 (patch)
treefbce5f14fd71ecde509d01853211221992a277f6 /libavcodec/hevcdec.h
parent5f176bbc9a628f00c6ae6cd6e0b3563073bbe00a (diff)
avcodec/hevc_refs: Constify ff_hevc_get_ref_list()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hevcdec.h')
-rw-r--r--libavcodec/hevcdec.h4
1 files changed, 2 insertions, 2 deletions
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.