diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-13 21:13:52 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-13 23:48:26 +0200 |
commit | 28ac8426e646ab6468bc164ff62dfe9cbcac9f4a (patch) | |
tree | da89d7877e210e456a31807ed7159781cbf0f767 /libavutil | |
parent | 572e38a513139b21c35acfef13aa7c4e307ab648 (diff) | |
download | ffmpeg-28ac8426e646ab6468bc164ff62dfe9cbcac9f4a.tar.gz |
lavu/dict: cosmetic realign.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/dict.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/dict.c b/libavutil/dict.c index 3cd7156a04..3a0e84cd40 100644 --- a/libavutil/dict.c +++ b/libavutil/dict.c @@ -48,8 +48,8 @@ av_dict_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int for(; i<m->count; i++){ const char *s= m->elems[i].key; - if(flags & AV_DICT_MATCH_CASE) for(j=0; s[j] == key[j] && key[j]; j++); - else for(j=0; av_toupper(s[j]) == av_toupper(key[j]) && key[j]; j++); + if(flags & AV_DICT_MATCH_CASE) for(j=0; s[j] == key[j] && key[j]; j++); + else for(j=0; av_toupper(s[j]) == av_toupper(key[j]) && key[j]; j++); if(key[j]) continue; if(s[j] && !(flags & AV_DICT_IGNORE_SUFFIX)) @@ -86,9 +86,9 @@ int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags } if (value) { if (flags & AV_DICT_DONT_STRDUP_KEY) { - m->elems[m->count].key = (char*)(intptr_t)key; + m->elems[m->count].key = (char*)(intptr_t)key; } else - m->elems[m->count].key = av_strdup(key ); + m->elems[m->count].key = av_strdup(key); if (flags & AV_DICT_DONT_STRDUP_VAL) { m->elems[m->count].value = (char*)(intptr_t)value; } else if (oldval && flags & AV_DICT_APPEND) { |