Mercurial > libavformat.hg
changeset 6084:791d91ad79f5 libavformat
metadata: mention how to remove tags.
Patch by Anton Khirnov, wyskas at gmail
| author | mstorsjo |
|---|---|
| date | Fri, 04 Jun 2010 13:52:45 +0000 |
| parents | 5ec1f78c30fe |
| children | 72c7c3d5c4e9 |
| files | avformat.h |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);
