From 3cdc7eb4748ec399213bc4fe6b7e3d75bf5b3497 Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Date: Wed, 22 Mar 2006 16:49:05 +0000
Subject: [PATCH] dvcpro is 411p in fact

Originally committed as revision 5199 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/movenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 63d98534745..bc370350e60 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);
-- 
GitLab