aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/dict.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-11-20 15:28:17 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-11-22 15:51:20 +0100
commite782eea183ba3c03f5179ac83f85e25ae9c1290f (patch)
tree81613dc8b769fcc1cfc5eb45bb9ccd423e8a44f9 /libavutil/dict.h
parent320389f88b42215bb0998e6242db19b569fd1a13 (diff)
downloadffmpeg-e782eea183ba3c03f5179ac83f85e25ae9c1290f.tar.gz
lavu/dict.h: extend/clarify docs for av_dict_parse_string()
Diffstat (limited to 'libavutil/dict.h')
-rw-r--r--libavutil/dict.h5
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