From 160c896c38ee39a4e6353f5b4c392eccebeb0e42 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 4 Jun 2010 13:52:45 +0000 Subject: [PATCH] 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 --- libavformat/avformat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 80dc5c38c..bd965e36f 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); -- 2.11.0