summaryrefslogtreecommitdiffstats
path: root/libavutil/dict.c
Commit message (Collapse)AuthorAgeFilesLines
* av_dict_set: fix potential memory leak with AV_DICT_DONT_OVERWRITEJanne Grunau2014-06-091-1/+4
| | | | | av_dict_set leaks it key/value arguments if AV_DICT_DONT_OVERWRITE is combined with AV_DICT_DONT_STRDUP_{KEY,VAL} and the key exists.
* dict: const correctness for av_dict_get() and av_dict_copy()Diego Biurrun2014-06-051-2/+2
|
* dict: K&R formatting cosmeticsPatrice Clement2014-03-071-23/+31
|
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-071-2/+1
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* dict: add av_dict_parse_string()Justin Ruggles2013-01-251-0/+47
| | | | | | Can be used to set multiple key/value pairs from a string. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dict: move struct AVDictionary definition to dict.cMans Rullgard2012-08-101-0/+5
| | | | | | | This makes struct AVDictionary fully opaque now that nothing needs to access it directly any more. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dict: add av_dict_count()Mans Rullgard2012-08-101-0/+5
| | | | | | | | This adds a function to retrieve the number of entries in a dictionary and updates the places directly accessing what should be an opaque struct to use this new function instead. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove leftover includes of strings.hMartin Storsjö2011-11-061-1/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dict: add AV_DICT_APPEND flag.Anton Khirnov2011-06-161-1/+12
|
* Move metadata API from lavf to lavu.Anton Khirnov2011-06-081-0/+110
Rename it to AVDictionary, since it will be used as such. Tags documentation and metadata conversion API is lavf-specific, so remains there.
OpenPOWER on IntegriCloud