Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-08-08 20:31:44 +0400
committerMans Rullgard <mans@mansr.com>2012-08-10 18:15:00 +0400
commit33de86db2bda850d97e04c4fd132c223c7249333 (patch)
tree8b0029680d1f9a1d05230ed014d33819bdc3e728 /libavutil/dict.c
parent987170cb9dd036d3372c8feac6074d13d1b84dd2 (diff)
dict: move struct AVDictionary definition to dict.c
This makes struct AVDictionary fully opaque now that nothing needs to access it directly any more. Signed-off-by: Mans Rullgard <mans@mansr.com>
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;