diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-03-16 06:44:16 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-03-16 06:44:16 +0000 |
commit | f584386d545d940bd043f5ca77cc3b21475d393b (patch) | |
tree | 9dcf91a6787b2416afd330b3a272e22517647d74 /libavformat | |
parent | c6026e4360b37f1c073678c47e07525400ddf19b (diff) | |
download | ffmpeg-f584386d545d940bd043f5ca77cc3b21475d393b.tar.gz |
reindent
Originally committed as revision 18002 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index a834a4b279..baf47899ae 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -152,13 +152,13 @@ static int mov_read_udta_string(MOVContext *c, ByteIOContext *pb, MOVAtom atom) 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); |