Commit 8c1eae58 authored by bcoudurier's avatar bcoudurier

cosmetics, reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13752 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eed815ac
...@@ -1262,19 +1262,17 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext *mov, ...@@ -1262,19 +1262,17 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext *mov,
mov_write_3gp_udta_tag(pb, s, "dscp", s->comment); mov_write_3gp_udta_tag(pb, s, "dscp", s->comment);
mov_write_3gp_udta_tag(pb, s, "albm", s->album); mov_write_3gp_udta_tag(pb, s, "albm", s->album);
mov_write_3gp_udta_tag(pb, s, "yrrc", "nil"); mov_write_3gp_udta_tag(pb, s, "yrrc", "nil");
} else if (mov->mode == MODE_MOV) { // the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4
mov_write_string_tag(pb, "\251nam", s->title , 0);
mov_write_string_tag(pb, "\251aut", s->author , 0);
mov_write_string_tag(pb, "\251alb", s->album , 0);
mov_write_day_tag(pb, s->year, 0);
mov_write_string_tag(pb, "\251enc", LIBAVFORMAT_IDENT, 0);
mov_write_string_tag(pb, "\251des", s->comment , 0);
mov_write_string_tag(pb, "\251gen", s->genre , 0);
} else { } else {
if(mov->mode == MODE_MOV){ // the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4
mov_write_string_tag(pb, "\251nam", s->title , 0);
mov_write_string_tag(pb, "\251aut", s->author , 0);
mov_write_string_tag(pb, "\251alb", s->album , 0);
mov_write_day_tag(pb, s->year, 0);
mov_write_string_tag(pb, "\251enc", LIBAVFORMAT_IDENT, 0);
mov_write_string_tag(pb, "\251des", s->comment , 0);
mov_write_string_tag(pb, "\251gen", s->genre , 0);
} else {
/* iTunes meta data */ /* iTunes meta data */
mov_write_meta_tag(pb, mov, s); mov_write_meta_tag(pb, mov, s);
}
} }
return updateSize(pb, pos); return updateSize(pb, pos);
} }
......
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