[FFmpeg-devel] [PATCH] lavu/dict.h: extend/clarify docs for av_dict_parse_string()

Clément Bœsch u at pkh.me
Thu Nov 21 12:42:48 CET 2013


On Wed, Nov 20, 2013 at 05:45:06PM +0100, Stefano Sabatini wrote:
> ---
>  libavutil/dict.h | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/libavutil/dict.h b/libavutil/dict.h
> index 1381bcb..d2e2706 100644
> --- a/libavutil/dict.h
> +++ b/libavutil/dict.h
> @@ -118,7 +118,11 @@ int av_dict_count(const AVDictionary *m);
>  int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
>  
>  /**
> - * Parse the key/value pairs list and add to a dictionary.
> + * Parse the key/value pairs list and add the parsed entries to a dictionary.
> + *
> + * In case of failure, all the successfully set entries are stored in
> + * *pm. You may need to manually free the created dictionary.
> + *
>   *

No need to add a double \n here, otherwise LGTM

>   * @param key_val_sep  a 0-terminated list of characters used to separate
>   *                     key from value
> -- 
> 1.8.1.2
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131121/4b458cd1/attachment.asc>


More information about the ffmpeg-devel mailing list