Commit e735019d authored by bcoudurier's avatar bcoudurier

reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18002 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6bae23c6
...@@ -152,13 +152,13 @@ static int mov_read_udta_string(MOVContext *c, ByteIOContext *pb, MOVAtom atom) ...@@ -152,13 +152,13 @@ static int mov_read_udta_string(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
if (parse) if (parse)
parse(c, pb, str_size); parse(c, pb, str_size);
else { else {
get_buffer(pb, str, str_size); get_buffer(pb, str, str_size);
str[str_size] = 0; str[str_size] = 0;
av_metadata_set(&c->fc->metadata, key, str); av_metadata_set(&c->fc->metadata, key, str);
if (*language && strcmp(language, "und")) { if (*language && strcmp(language, "und")) {
snprintf(key2, sizeof(key2), "%s-%s", key, language); snprintf(key2, sizeof(key2), "%s-%s", key, language);
av_metadata_set(&c->fc->metadata, key2, str); av_metadata_set(&c->fc->metadata, key2, str);
} }
} }
#ifdef DEBUG_METADATA #ifdef DEBUG_METADATA
av_log(c->fc, AV_LOG_DEBUG, "lang \"%3s\" ", language); av_log(c->fc, AV_LOG_DEBUG, "lang \"%3s\" ", language);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment