OSDN Git Service

metadata: mention how to remove tags.
authorAnton Khirnov <wyskas@gmail.com>
Fri, 4 Jun 2010 13:52:45 +0000 (13:52 +0000)
committerMartin Storsjö <martin@martin.st>
Fri, 4 Jun 2010 13:52:45 +0000 (13:52 +0000)
Patch by Anton Khirnov, wyskas at gmail

Originally committed as revision 23468 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avformat.h

index 80dc5c3..bd965e3 100644 (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.
  * @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);