Mercurial > libavcodec.hg
diff h263dec.c @ 2299:eb0c851db536 libavcodec
xvid fake divx version workaround
author | michael |
---|---|
date | Fri, 15 Oct 2004 11:48:50 +0000 |
parents | 870597ca3e7a |
children | b25bf309cbc4 |
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;