]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/dict.h
avcodec/dv_profile: deprecate internal function that shouldn't be public
[ffmpeg] / libavutil / dict.h
index 06f1621d4533fd00ff05bfdf2387527ab093ead0..9b3381b8284721a10c94ef798278e64ad944442e 100644 (file)
@@ -115,6 +115,9 @@ int av_dict_count(const AVDictionary *m);
 /**
  * Set the given entry in *pm, overwriting an existing entry.
  *
+ * Note: If AV_DICT_DONT_STRDUP_KEY or AV_DICT_DONT_STRDUP_VAL is set,
+ * these arguments will be freed on error.
+ *
  * @param pm pointer to a pointer to a dictionary struct. If *pm is NULL
  * a dictionary struct is allocated and put in *pm.
  * @param key entry key to add to *pm (will be av_strduped depending on flags)
@@ -127,6 +130,8 @@ int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags
 /**
  * Convenience wrapper for av_dict_set that converts the value to a string
  * and stores it.
+ *
+ * Note: If AV_DICT_DONT_STRDUP_KEY is set, key will be freed on error.
  */
 int av_dict_set_int(AVDictionary **pm, const char *key, int64_t value, int flags);