summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-06-04 13:52:45 +0000
committerMartin Storsjö <martin@martin.st>2010-06-04 13:52:45 +0000
commit160c896c38ee39a4e6353f5b4c392eccebeb0e42 (patch)
tree7adf48103014e8ec77a699c9b144bea13093c6df /libavformat/avformat.h
parentacf85d7b9d17de3dd2b273f4d60221b001367eb2 (diff)
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
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 80dc5c38c9..bd965e36f6 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -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);