aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-01-11 10:36:19 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-01-11 10:36:19 +0000
commit3d1b0fcd599438de27dcddc2f6cff7ab03714ac9 (patch)
treec0c4cd49e12cb4b8d336fd2a9cd6622aa0a11c5e
parentf620488654700dfc06ce5548baa15c4344662969 (diff)
downloadffmpeg-3d1b0fcd599438de27dcddc2f6cff7ab03714ac9.tar.gz
cosmetics
Originally committed as revision 16532 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/movenc.c10
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);