summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/movenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 63d9853474..bc370350e6 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -606,9 +606,9 @@ static int mov_find_video_codec_tag(MOVTrack* track)
if (track->enc->pix_fmt == PIX_FMT_YUV422P)
tag = MKTAG('d', 'v', '5', 'p');
else if (track->enc->pix_fmt == PIX_FMT_YUV420P)
- tag = MKTAG('d', 'v', 'p', 'p');
- else
tag = MKTAG('d', 'v', 'c', 'p');
+ else
+ tag = MKTAG('d', 'v', 'p', 'p');
}
} else {
tag = codec_get_tag(codec_movvideo_tags, track->enc->codec_id);