1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-01 08:54:48 +02:00

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

Originally committed as revision 6701 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ramiro Polla 2006-10-15 16:52:33 +00:00 committed by Guillaume Poirier
parent 14f29f795d
commit aa770811a3

View File

@ -335,7 +335,8 @@ int ff_xvid_encode_init(AVCodecContext *avctx) {
} 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 */