Mercurial > libavformat.hg
changeset 4729:276616a5db61 libavformat
reindent
author | bcoudurier |
---|---|
date | Mon, 16 Mar 2009 06:44:16 +0000 |
parents | 188b0585e5b6 |
children | 0d01d01e6a9d |
files | mov.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Mon Mar 16 06:43:38 2009 +0000 +++ b/mov.c Mon Mar 16 06:44:16 2009 +0000 @@ -152,13 +152,13 @@ if (parse) parse(c, pb, str_size); else { - get_buffer(pb, str, str_size); - str[str_size] = 0; - av_metadata_set(&c->fc->metadata, key, str); - if (*language && strcmp(language, "und")) { - snprintf(key2, sizeof(key2), "%s-%s", key, language); - av_metadata_set(&c->fc->metadata, key2, str); - } + get_buffer(pb, str, str_size); + str[str_size] = 0; + av_metadata_set(&c->fc->metadata, key, str); + if (*language && strcmp(language, "und")) { + snprintf(key2, sizeof(key2), "%s-%s", key, language); + av_metadata_set(&c->fc->metadata, key2, str); + } } #ifdef DEBUG_METADATA av_log(c->fc, AV_LOG_DEBUG, "lang \"%3s\" ", language);