dict: move struct AVDictionary definition to dict.c
authorMans Rullgard <mans@mansr.com>
Wed, 8 Aug 2012 16:31:44 +0000 (17:31 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 10 Aug 2012 14:15:00 +0000 (15:15 +0100)
This makes struct AVDictionary fully opaque now that nothing
needs to access it directly any more.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavutil/dict.c
libavutil/internal.h

index 1344613fa965c1d628f0829111d22e4c561f9679..bbee732db96d5d0537aff4d06a25fbbe73ea4244 100644 (file)
 #include "internal.h"
 #include "mem.h"
 
+struct AVDictionary {
+    int count;
+    AVDictionaryEntry *elems;
+};
+
 int av_dict_count(const AVDictionary *m)
 {
     return m ? m->count : 0;
index 75c5156d0faac452b169e14f16449e774776d1c0..12b71086e66163f70a8bc50fe36a1da722708bf4 100644 (file)
 #include "timer.h"
 #include "dict.h"
 
-struct AVDictionary {
-    int count;
-    AVDictionaryEntry *elems;
-};
-
 #ifndef attribute_align_arg
 #if ARCH_X86_32 && AV_GCC_VERSION_AT_LEAST(4,2)
 #    define attribute_align_arg __attribute__((force_align_arg_pointer))