[Ffmpeg-cvslog] r6701 - trunk/libavcodec/xvidff.c

gpoirier subversion
Sun Oct 15 18:52:33 CEST 2006


Author: gpoirier
Date: Sun Oct 15 18:52:33 2006
New Revision: 6701

Modified:
   trunk/libavcodec/xvidff.c

Log:
Have xvid encoder wrapper honnor -vtag option
Patch by Ramiro Polla angustia A arrozcru P no-ip P org
Original thread:
Date: 14.10.2006 05:44
Subject: [Ffmpeg-devel] xvid ignores -vtag


Modified: trunk/libavcodec/xvidff.c
==============================================================================
--- trunk/libavcodec/xvidff.c	(original)
+++ trunk/libavcodec/xvidff.c	Sun Oct 15 18:52:33 2006
@@ -335,7 +335,8 @@
     } else {
         /* We are claiming to be XviD */
         x->quicktime_format = 0;
-        avctx->codec_tag = ff_get_fourcc("xvid");
+        if(!avctx->codec_tag)
+            avctx->codec_tag = ff_get_fourcc("xvid");
     }
 
     /* Bframes */




More information about the ffmpeg-cvslog mailing list