aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-03-20 18:42:44 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-03-20 18:42:44 +0000
commit7b0f4c9aaaf9f4c542b95cd0a45b82c0e2f24600 (patch)
tree2e3fbcdcba7bb092bd9e2608d513ac3699717e65 /libavformat/movenc.c
parent8474f58e8b81cb71df7584a094e586e9cf06d70d (diff)
downloadffmpeg-7b0f4c9aaaf9f4c542b95cd0a45b82c0e2f24600.tar.gz
cosmetics, move case up
Originally committed as revision 12519 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 57e0f8125f..7e875bd5f0 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -610,14 +610,13 @@ static int mov_write_video_tag(ByteIOContext *pb, MOVTrack* track)
mov_write_d263_tag(pb);
else if(track->enc->codec_id == CODEC_ID_SVQ3)
mov_write_svq3_tag(pb);
+ else if(track->enc->codec_id == CODEC_ID_DNXHD)
+ mov_write_avid_tag(pb, track);
else if(track->enc->codec_id == CODEC_ID_H264) {
mov_write_avcc_tag(pb, track);
if(track->mode == MODE_IPOD)
mov_write_uuid_tag_ipod(pb);
- }
- else if(track->enc->codec_id == CODEC_ID_DNXHD)
- mov_write_avid_tag(pb, track);
- else if(track->vosLen > 0)
+ } else if(track->vosLen > 0)
mov_write_glbl_tag(pb, track);
return updateSize (pb, pos);