diff options
author | James Almer <jamrial@gmail.com> | 2018-01-20 22:54:15 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-01-21 06:06:30 +0300 |
commit | 9462b2b8205397ea5972b2365c2e8db6872ef3e9 (patch) | |
tree | 6152f09fdb4858c548b30bf74c30ba80e74a2a72 /libavcodec/hevc_ps.h | |
parent | 251f0bcb7be9e42af91c1beb346d752185bbcbb9 (diff) |
avcodec/hevc_ps: add a function to uninitialize parameter set buffers
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_ps.h')
-rw-r--r-- | libavcodec/hevc_ps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hevc_ps.h b/libavcodec/hevc_ps.h index 477ee4299a..9873754389 100644 --- a/libavcodec/hevc_ps.h +++ b/libavcodec/hevc_ps.h @@ -421,6 +421,8 @@ int ff_hevc_decode_nal_sps(GetBitContext *gb, AVCodecContext *avctx, int ff_hevc_decode_nal_pps(GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps); +void ff_hevc_ps_uninit(HEVCParamSets *ps); + int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx, ShortTermRPS *rps, const HEVCSPS *sps, int is_slice_header); |