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);