diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-11-20 15:28:17 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-11-22 15:51:20 +0100 |
commit | e782eea183ba3c03f5179ac83f85e25ae9c1290f (patch) | |
tree | 81613dc8b769fcc1cfc5eb45bb9ccd423e8a44f9 | |
parent | 320389f88b42215bb0998e6242db19b569fd1a13 (diff) | |
download | ffmpeg-e782eea183ba3c03f5179ac83f85e25ae9c1290f.tar.gz |
lavu/dict.h: extend/clarify docs for av_dict_parse_string()
-rw-r--r-- | libavutil/dict.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavutil/dict.h b/libavutil/dict.h index 5d66bb7e93..1dfc5a6443 100644 --- a/libavutil/dict.h +++ b/libavutil/dict.h @@ -118,7 +118,10 @@ 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. * * @param key_val_sep a 0-terminated list of characters used to separate * key from value |