summaryrefslogtreecommitdiff
path: root/libavutil/dict.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-06-28 04:10:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-06-28 04:10:40 +0200
commitc029ea39bd58905d7a15ad7e1eb7991447606974 (patch)
treee931d906041b21beee9ac5e4508763622192b9b1 /libavutil/dict.h
parent7b7c47c8f70e51d3835a6153c3e467e59acf8a8b (diff)
downloadffmpeg-c029ea39bd58905d7a15ad7e1eb7991447606974.tar.gz
AVDictionary: warn about its shortcommings and mention available replacements.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/dict.h')
-rw-r--r--libavutil/dict.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/dict.h b/libavutil/dict.h
index 421be32244..dc575eb76c 100644
--- a/libavutil/dict.h
+++ b/libavutil/dict.h
@@ -19,6 +19,13 @@
/**
* @file Public dictionary API.
+ * @deprecated
+ * AVDictionary is provided for compatibility with libav. It is both in
+ * implementation as well as API inefficient. It doesnt scale and is
+ * be extreemly slow with large dictionaries.
+ * It is recommanded that new code uses our tree container from tree.c/h
+ * where applicable.
+ * Which uses AVL trees to achive O(log n) performance
*/
#ifndef AVUTIL_DICT_H