summaryrefslogtreecommitdiff
path: root/libavutil/dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/dict.c')
-rw-r--r--libavutil/dict.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/dict.c b/libavutil/dict.c
index 1344613fa9..bbee732db9 100644
--- a/libavutil/dict.c
+++ b/libavutil/dict.c
@@ -23,6 +23,11 @@
#include "internal.h"
#include "mem.h"
+struct AVDictionary {
+ int count;
+ AVDictionaryEntry *elems;
+};
+
int av_dict_count(const AVDictionary *m)
{
return m ? m->count : 0;