From 7b0f4c9aaaf9f4c542b95cd0a45b82c0e2f24600 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 20 Mar 2008 18:42:44 +0000 Subject: [PATCH] cosmetics, move case up Originally committed as revision 12519 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/movenc.c | 7 +++---- 1 file 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);