From d816e125fe1fa5c909b706d47904a4d6c1799996 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 4 Jun 2014 04:58:33 -0700 Subject: dict: const correctness for av_dict_get() and av_dict_copy() --- libavutil/dict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil/dict.c') diff --git a/libavutil/dict.c b/libavutil/dict.c index 3b95aba460..7b4dbf29ac 100644 --- a/libavutil/dict.c +++ b/libavutil/dict.c @@ -35,7 +35,7 @@ int av_dict_count(const AVDictionary *m) return m ? m->count : 0; } -AVDictionaryEntry *av_dict_get(AVDictionary *m, const char *key, +AVDictionaryEntry *av_dict_get(const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags) { unsigned int i, j; @@ -178,7 +178,7 @@ void av_dict_free(AVDictionary **pm) av_freep(pm); } -void av_dict_copy(AVDictionary **dst, AVDictionary *src, int flags) +void av_dict_copy(AVDictionary **dst, const AVDictionary *src, int flags) { AVDictionaryEntry *t = NULL; -- cgit v1.2.3