diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-03-21 07:33:25 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-03-28 09:43:18 +0200 |
commit | 8229eff4b7a98ae5d85bb75f3bb072781b4a8ebe (patch) | |
tree | 4e7bfe5bd156622aa2dee181b7dc321007710ee8 /libavcodec/h2645_parse.h | |
parent | fa936a307f5cddfc2664600157a8207ca8080af6 (diff) | |
download | ffmpeg-streaming-8229eff4b7a98ae5d85bb75f3bb072781b4a8ebe.zip ffmpeg-streaming-8229eff4b7a98ae5d85bb75f3bb072781b4a8ebe.tar.gz |
h2645_parse: add a function for uninitializing the packet
Diffstat (limited to 'libavcodec/h2645_parse.h')
-rw-r--r-- | libavcodec/h2645_parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h2645_parse.h b/libavcodec/h2645_parse.h index 4901ccf..eaf7d60 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 */ |