free all allocated metadata structures

Originally committed as revision 16457 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs
2009-01-06 22:11:04 +00:00
parent 16cda1535e
commit 094d9df72e
4 changed files with 31 additions and 8 deletions

View File

@@ -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 */