AVDictionary: warn about its shortcommings and mention available replacements.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-06-28 04:10:40 +02:00
parent 7b7c47c8f7
commit c029ea39bd
1 changed files with 7 additions and 0 deletions

View File

@ -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