diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-11 09:40:40 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-11 09:40:40 +0000 |
commit | 927509e10b7d8a0a62339e3e194de87b92ef6709 (patch) | |
tree | 8c76b1476125f13bd3cdd7468ddd81497c8f90af /libavformat | |
parent | c6e2c6c9c69b91a2c648ab51adf9cc0b8c10d0bb (diff) | |
download | ffmpeg-927509e10b7d8a0a62339e3e194de87b92ef6709.tar.gz |
indent
Originally committed as revision 13747 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index b123d787e7..f3784959b3 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1263,18 +1263,18 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext *mov, mov_write_3gp_udta_tag(pb, s, "albm", s->album); mov_write_3gp_udta_tag(pb, s, "yrrc", "nil"); } else { - /* iTunes meta data */ - mov_write_meta_tag(pb, mov, s); - - 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); - } + /* iTunes meta data */ + mov_write_meta_tag(pb, mov, s); + + 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); + } } return updateSize(pb, pos); } |