Mercurial > libavcodec.hg
changeset 2299:eb0c851db536 libavcodec
xvid fake divx version workaround
author | michael |
---|---|
date | Fri, 15 Oct 2004 11:48:50 +0000 |
parents | 3a8e557a8226 |
children | 40542ea560d5 |
files | h263dec.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/h263dec.c Fri Oct 15 02:37:04 2004 +0000 +++ b/h263dec.c Fri Oct 15 11:48:50 2004 +0000 @@ -516,6 +516,11 @@ if(s->avctx->codec_tag == ff_get_fourcc("DIVX") && s->vo_type==0 && s->vol_control_parameters==0) s->divx_version= 400; //divx 4 } + + if(s->xvid_build && s->divx_version){ + s->divx_version= + s->divx_build= 0; + } if(s->workaround_bugs&FF_BUG_AUTODETECT){ s->workaround_bugs &= ~FF_BUG_NO_PADDING;