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

Stefano Sabatini stefasab at gmail.com
Wed Nov 20 17:45:06 CET 2013


---
 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.
+ *
  *
  * @param key_val_sep  a 0-terminated list of characters used to separate
  *                     key from value
-- 
1.8.1.2



More information about the ffmpeg-devel mailing list