From 9462b2b8205397ea5972b2365c2e8db6872ef3e9 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 20 Jan 2018 16:54:15 -0300 Subject: avcodec/hevc_ps: add a function to uninitialize parameter set buffers Reviewed-by: Michael Niedermayer Signed-off-by: James Almer --- libavcodec/hevc_ps.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/hevc_ps.h') 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); -- cgit v1.2.3