aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-06 22:11:04 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-06 22:11:04 +0000
commit094d9df72e8372b0a7c6e9381b375b438db3fa3c (patch)
treebc1ecfa16f0b5b5dd14c9a9910f343d4a11b22e5 /libavformat/avformat.h
parent16cda1535edf853c31506b2c737d0a6873744550 (diff)
downloadffmpeg-094d9df72e8372b0a7c6e9381b375b438db3fa3c.tar.gz
free all allocated metadata structures
Originally committed as revision 16457 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index e21b3ea182..e8b71004e7 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -93,6 +93,11 @@ av_metadata_get(AVMetadata *m, const char *key, const AVMetadataTag *prev, int f
*/
int av_metadata_set(AVMetadata **m, AVMetadataTag tag);
+/**
+ * Free all the memory allocated for an AVMetadata struct.
+ */
+void av_metadata_free(AVMetadata **m);
+
/* packet functions */