aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2007-10-24 14:22:56 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-10-24 14:22:56 +0000
commitcfac9ec7010c5ef9ed15a3ec7dd7d9de1ee1ff8b (patch)
treeb8dcbf7ba4137267a2966da8a561089d0ae680f3
parent89a0d7908b58b5bea856ed5c2713babb5632cd84 (diff)
downloadffmpeg-cfac9ec7010c5ef9ed15a3ec7dd7d9de1ee1ff8b.tar.gz
Cosmetics: indentation.
Originally committed as revision 10853 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/movenc.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index a29ad1fcae..c8d32f3c67 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1236,30 +1236,30 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov,
s->comment[0] || s->genre[0] || s->track ||
(mov->mode == MODE_MOV &&
((mov->tracks[0].enc && !mov->tracks[0].enc->flags & CODEC_FLAG_BITEXACT) || req))) {
- offset_t pos = url_ftell(pb);
+ offset_t pos = url_ftell(pb);
- put_be32(pb, 0); /* size */
- put_tag(pb, "udta");
+ put_be32(pb, 0); /* size */
+ put_tag(pb, "udta");
- /* iTunes meta data */
- mov_write_meta_tag(pb, mov, s);
+ /* 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
- /* Requirements */
- if (req)
+ if(mov->mode == MODE_MOV){ // the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4
+ /* Requirements */
+ if (req)
mov_write_string_tag(pb, "\251req", "QuickTime 6.0 or greater", 0);
- 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);
- if(mov->tracks[0].enc && !(mov->tracks[0].enc->flags & CODEC_FLAG_BITEXACT))
- 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);
- }
+ 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);
+ if(mov->tracks[0].enc && !(mov->tracks[0].enc->flags & CODEC_FLAG_BITEXACT))
+ 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);
+ return updateSize(pb, pos);
}
return 0;