From cf9ce6a3d69e4f29b212f01564bc4785fdfd2c66 Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Date: Tue, 7 Apr 2009 22:23:15 +0000
Subject: [PATCH] remove no more needed code, tag is set by default

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

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index f26cb639212..38290bb64db 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -640,8 +640,6 @@ static int mov_get_rawvideo_codec_tag(AVFormatContext *s, MOVTrack *track)
             break;
         }
     }
-    if (!tag) // restore tag
-        tag = track->enc->codec_tag;
 
     return tag;
 }
-- 
GitLab