From 8229eff4b7a98ae5d85bb75f3bb072781b4a8ebe Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 21 Mar 2016 07:33:25 +0100 Subject: h2645_parse: add a function for uninitializing the packet --- libavcodec/h2645_parse.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/h2645_parse.h') diff --git a/libavcodec/h2645_parse.h b/libavcodec/h2645_parse.h index 4901ccfbc1..eaf7d60917 100644 --- a/libavcodec/h2645_parse.h +++ b/libavcodec/h2645_parse.h @@ -61,4 +61,9 @@ int ff_h2645_extract_rbsp(const uint8_t *src, int length, int ff_h2645_packet_split(H2645Packet *pkt, const uint8_t *buf, int length, AVCodecContext *avctx, int is_nalff, int nal_length_size); +/** + * Free all the allocated memory in the packet. + */ +void ff_h2645_packet_uninit(H2645Packet *pkt); + #endif /* AVCODEC_H2645_PARSE_H */ -- cgit v1.2.3