diff xvidff.c @ 4023:508f089d0b28 libavcodec

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
author gpoirier
date Sun, 15 Oct 2006 16:52:33 +0000
parents f7e99d20ef62
children f99e40a7155b
line wrap: on
line diff
--- a/xvidff.c	Sun Oct 15 12:59:45 2006 +0000
+++ b/xvidff.c	Sun Oct 15 16:52:33 2006 +0000
@@ -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 */