metadata: mention how to remove tags.

Patch by Anton Khirnov, wyskas at gmail

Originally committed as revision 23468 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Anton Khirnov 2010-06-04 13:52:45 +00:00 committed by Martin Storsjö
parent acf85d7b9d
commit 160c896c38
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ attribute_deprecated int av_metadata_set(AVMetadata **pm, const char *key, const
/** /**
* Sets the given tag in m, overwriting an existing tag. * 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 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 * @return >= 0 on success otherwise an error code <0
*/ */
int av_metadata_set2(AVMetadata **pm, const char *key, const char *value, int flags); int av_metadata_set2(AVMetadata **pm, const char *key, const char *value, int flags);