aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio_internal.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-24 13:23:30 +0200
committerMartin Storsjö <martin@martin.st>2015-02-24 23:07:41 +0200
commit8a273a746061a112e5e35066a8fd8e146d821a62 (patch)
treec8751366ea7ae24a4e6ec2bc44fd2984458eeb9f /libavformat/avio_internal.h
parent078d43e23a7a3d64aafee8a58b380d3e139b3020 (diff)
downloadffmpeg-8a273a746061a112e5e35066a8fd8e146d821a62.tar.gz
avio: Add an internal utility function for freeing dynamic buffers
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/avio_internal.h')
-rw-r--r--libavformat/avio_internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h
index a8bcadd38b..f8c9c93a3d 100644
--- a/libavformat/avio_internal.h
+++ b/libavformat/avio_internal.h
@@ -139,4 +139,11 @@ int ffio_open_null_buf(AVIOContext **s);
*/
int ffio_close_null_buf(AVIOContext *s);
+/**
+ * Free a dynamic buffer.
+ *
+ * @param s a pointer to an IO context opened by avio_open_dyn_buf()
+ */
+void ffio_free_dyn_buf(AVIOContext **s);
+
#endif /* AVFORMAT_AVIO_INTERNAL_H */