diff options
author | Mans Rullgard <mans@mansr.com> | 2012-08-08 17:31:44 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-08-10 15:15:00 +0100 |
commit | 33de86db2bda850d97e04c4fd132c223c7249333 (patch) | |
tree | 8b0029680d1f9a1d05230ed014d33819bdc3e728 /libavutil | |
parent | 987170cb9dd036d3372c8feac6074d13d1b84dd2 (diff) | |
download | ffmpeg-33de86db2bda850d97e04c4fd132c223c7249333.tar.gz |
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')
-rw-r--r-- | libavutil/dict.c | 5 | ||||
-rw-r--r-- | libavutil/internal.h | 5 |
2 files changed, 5 insertions, 5 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; diff --git a/libavutil/internal.h b/libavutil/internal.h index 75c5156d0f..12b71086e6 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -39,11 +39,6 @@ #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)) |