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:
authorDiego Biurrun <diego@biurrun.de>2014-06-04 15:58:33 +0400
committerDiego Biurrun <diego@biurrun.de>2014-06-05 20:16:15 +0400
commitd816e125fe1fa5c909b706d47904a4d6c1799996 (patch)
tree1070110de285cac0e893f9805db697c9bff8dff5 /libavutil/dict.c
parent39ec5e1cf8444f827c42effb76e5694e091bbff3 (diff)
dict: const correctness for av_dict_get() and av_dict_copy()
Diffstat (limited to 'libavutil/dict.c')
-rw-r--r--libavutil/dict.c4
1 files changed, 2 insertions, 2 deletions
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;