Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2298:3a8e557a8226 | 2299:eb0c851db536 |
---|---|
514 | 514 |
515 if(s->xvid_build==0 && s->divx_version==0 && s->lavc_build==0){ | 515 if(s->xvid_build==0 && s->divx_version==0 && s->lavc_build==0){ |
516 if(s->avctx->codec_tag == ff_get_fourcc("DIVX") && s->vo_type==0 && s->vol_control_parameters==0) | 516 if(s->avctx->codec_tag == ff_get_fourcc("DIVX") && s->vo_type==0 && s->vol_control_parameters==0) |
517 s->divx_version= 400; //divx 4 | 517 s->divx_version= 400; //divx 4 |
518 } | 518 } |
519 | |
520 if(s->xvid_build && s->divx_version){ | |
521 s->divx_version= | |
522 s->divx_build= 0; | |
523 } | |
519 | 524 |
520 if(s->workaround_bugs&FF_BUG_AUTODETECT){ | 525 if(s->workaround_bugs&FF_BUG_AUTODETECT){ |
521 s->workaround_bugs &= ~FF_BUG_NO_PADDING; | 526 s->workaround_bugs &= ~FF_BUG_NO_PADDING; |
522 | 527 |
523 if(s->padding_bug_score > -2 && !s->data_partitioning && (s->divx_version || !s->resync_marker)) | 528 if(s->padding_bug_score > -2 && !s->data_partitioning && (s->divx_version || !s->resync_marker)) |