Mercurial > libavcodec.hg
changeset 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 | a2a174f19b34 |
children | d550343b5dac |
files | xvidff.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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 */