diff options
Diffstat (limited to 'libavutil/dict.h')
-rw-r--r-- | libavutil/dict.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/dict.h b/libavutil/dict.h index 54ecba0c2d..7f9924b128 100644 --- a/libavutil/dict.h +++ b/libavutil/dict.h @@ -93,6 +93,14 @@ AVDictionaryEntry * av_dict_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags); /** + * Get number of entries in dictionary. + * + * @param m dictionary + * @return number of entries in dictionary + */ +int av_dict_count(const AVDictionary *m); + +/** * Set the given entry in *pm, overwriting an existing entry. * * @param pm pointer to a pointer to a dictionary struct. If *pm is NULL |