summaryrefslogtreecommitdiff
path: root/libavcodec/hevcdec.h
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2018-05-10 12:22:34 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2018-05-10 18:41:56 +0200
commit46c1ee19171c4704ad7dec65b1c716a727238486 (patch)
tree29bfbad151a8a74115cd2aeaf6772b9bc6bb5423 /libavcodec/hevcdec.h
parent974eb4aaaa7d96a996c61030fca4095c3c2c6284 (diff)
avcodec/hevcdec: make ff_hevc_frame_nb_refs take a const pointer
Diffstat (limited to 'libavcodec/hevcdec.h')
-rw-r--r--libavcodec/hevcdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
index b311edc8ae..f0f588f2b8 100644
--- a/libavcodec/hevcdec.h
+++ b/libavcodec/hevcdec.h
@@ -544,7 +544,7 @@ int ff_hevc_res_scale_sign_flag(HEVCContext *s, int idx);
/**
* Get the number of candidate references for the current frame.
*/
-int ff_hevc_frame_nb_refs(HEVCContext *s);
+int ff_hevc_frame_nb_refs(const HEVCContext *s);
int ff_hevc_set_new_ref(HEVCContext *s, AVFrame **frame, int poc);