diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-11 10:36:19 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-11 10:36:19 +0000 |
commit | 3d1b0fcd599438de27dcddc2f6cff7ab03714ac9 (patch) | |
tree | c0c4cd49e12cb4b8d336fd2a9cd6622aa0a11c5e | |
parent | f620488654700dfc06ce5548baa15c4344662969 (diff) | |
download | ffmpeg-3d1b0fcd599438de27dcddc2f6cff7ab03714ac9.tar.gz |
cosmetics
Originally committed as revision 16532 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/movenc.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index bb900e3e52..56d230fc44 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -550,7 +550,7 @@ static const AVCodecTag codec_3gp_tags[] = { { CODEC_ID_AAC, MKTAG('m','p','4','a') }, { CODEC_ID_AMR_NB, MKTAG('s','a','m','r') }, { CODEC_ID_AMR_WB, MKTAG('s','a','w','b') }, - { CODEC_ID_MOV_TEXT, MKTAG('t', 'x', '3', 'g') }, + { CODEC_ID_MOV_TEXT, MKTAG('t','x','3','g') }, { CODEC_ID_NONE, 0 }, }; @@ -568,7 +568,7 @@ static const AVCodecTag codec_ipod_tags[] = { { CODEC_ID_AAC, MKTAG('m','p','4','a') }, { CODEC_ID_ALAC, MKTAG('a','l','a','c') }, { CODEC_ID_AC3, MKTAG('a','c','-','3') }, - { CODEC_ID_MOV_TEXT, MKTAG('t', 'x', '3', 'g') }, + { CODEC_ID_MOV_TEXT, MKTAG('t','x','3','g') }, { CODEC_ID_NONE, 0 }, }; @@ -950,10 +950,8 @@ static int mov_write_minf_tag(ByteIOContext *pb, MOVTrack *track) else if (track->enc->codec_type == CODEC_TYPE_AUDIO) mov_write_smhd_tag(pb); else if (track->enc->codec_type == CODEC_TYPE_SUBTITLE) { - if (track->mode == MODE_MOV) - mov_write_gmhd_tag(pb); - else - mov_write_nmhd_tag(pb); + if (track->mode == MODE_MOV) mov_write_gmhd_tag(pb); + else mov_write_nmhd_tag(pb); } if (track->mode == MODE_MOV) /* FIXME: Why do it for MODE_MOV only ? */ mov_write_hdlr_tag(pb, NULL); |