diff --git a/libavcodec/xvidff.c b/libavcodec/xvidff.c index e48bfe558d..590fe4b308 100644 --- a/libavcodec/xvidff.c +++ b/libavcodec/xvidff.c @@ -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 */