Mercurial > libavformat.hg
changeset 6365:c8ba3c854868 libavformat
Add documentation for the pm parameter of the av_metadata_set*
functions.
author | stefano |
---|---|
date | Wed, 11 Aug 2010 14:38:19 +0000 |
parents | 19e0c709659a |
children | d4691e73420f |
files | avformat.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avformat.h Wed Aug 11 14:38:16 2010 +0000 +++ b/avformat.h Wed Aug 11 14:38:19 2010 +0000 @@ -144,6 +144,8 @@ /** * Set the given tag in *pm, overwriting an existing tag. * + * @param pm pointer to a pointer to a metadata struct. If *pm is NULL + * a metadata struct is allocated and put in *pm. * @param key tag key to add to *pm (will be av_strduped) * @param value tag value to add to *pm (will be av_strduped) * @return >= 0 on success otherwise an error code <0 @@ -155,6 +157,8 @@ /** * Set the given tag in *pm, overwriting an existing tag. * + * @param pm pointer to a pointer to a metadata struct. If *pm is NULL + * a metadata struct is allocated and put in *pm. * @param key tag key to add to *pm (will be av_strduped depending on flags) * @param value tag value to add to *pm (will be av_strduped depending on flags). * Passing a NULL value will cause an existing tag to be deleted.