# HG changeset patch # User mstorsjo # Date 1275659565 0 # Node ID 791d91ad79f5ea3dc390aec6d1e13d7ea5f18c48 # Parent 5ec1f78c30fe04a11cda3f7fe9f4a12227e5a8ef metadata: mention how to remove tags. Patch by Anton Khirnov, wyskas at gmail diff -r 5ec1f78c30fe -r 791d91ad79f5 avformat.h --- a/avformat.h Fri Jun 04 07:33:34 2010 +0000 +++ b/avformat.h Fri Jun 04 13:52:45 2010 +0000 @@ -153,7 +153,8 @@ /** * Sets the given tag in m, overwriting an existing tag. * @param key tag key to add to m (will be av_strduped depending on flags) - * @param value tag value to add to m (will be av_strduped depending on flags) + * @param value tag value to add to m (will be av_strduped depending on flags). + * Passing a NULL value will cause an existing tag to be deleted. * @return >= 0 on success otherwise an error code <0 */ int av_metadata_set2(AVMetadata **pm, const char *key, const char *value, int flags);