diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-26 16:01:45 +0300 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-26 16:01:45 +0300 |
commit | 8e73574d4f176d166f08959f6c84e6bc3ffef79c (patch) | |
tree | 710197681d52960fd9cc2a093314d10f4e24c91c /libavcodec/h2645_parse.h | |
parent | 3c4ca4c5d7992e545a6cbad440287f9e27f1a696 (diff) | |
parent | 8229eff4b7a98ae5d85bb75f3bb072781b4a8ebe (diff) |
Merge commit '8229eff4b7a98ae5d85bb75f3bb072781b4a8ebe'
* commit '8229eff4b7a98ae5d85bb75f3bb072781b4a8ebe':
h2645_parse: add a function for uninitializing the packet
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
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 1724756872..05c21b03dc 100644 --- a/libavcodec/h2645_parse.h +++ b/libavcodec/h2645_parse.h @@ -65,4 +65,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 */ |