Mercurial > libavcodec.hg
comparison h263dec.c @ 1366:80067f8d6770 libavcodec
fix edge repeating bug for %16!=0 files, this fixes Quicktime mpeg4 (they arent buggy)
note, encoding wasnt affected by that
author | michaelni |
---|---|
date | Wed, 16 Jul 2003 18:12:14 +0000 |
parents | cfc80b3a4ada |
children | 0fd38b711f06 |
comparison
equal
deleted
inserted
replaced
1365:d58fa7cc6008 | 1366:80067f8d6770 |
---|---|
510 s->workaround_bugs|= FF_BUG_STD_QPEL; | 510 s->workaround_bugs|= FF_BUG_STD_QPEL; |
511 | 511 |
512 if(s->lavc_build && s->lavc_build<4655) | 512 if(s->lavc_build && s->lavc_build<4655) |
513 s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE; | 513 s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE; |
514 | 514 |
515 if(s->lavc_build && s->lavc_build<4618){ | |
516 s->workaround_bugs|= FF_BUG_EDGE; | |
517 } | |
518 | |
515 if(s->divx_version) | 519 if(s->divx_version) |
516 s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE; | 520 s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE; |
517 //printf("padding_bug_score: %d\n", s->padding_bug_score); | 521 //printf("padding_bug_score: %d\n", s->padding_bug_score); |
518 if(s->divx_version==501 && s->divx_build==20020416) | 522 if(s->divx_version==501 && s->divx_build==20020416) |
519 s->padding_bug_score= 256*256*256*64; | 523 s->padding_bug_score= 256*256*256*64; |
520 | 524 |
521 if(s->divx_version>=500){ | 525 if(s->divx_version && s->divx_version<500){ |
522 s->workaround_bugs|= FF_BUG_EDGE; | 526 s->workaround_bugs|= FF_BUG_EDGE; |
523 } | 527 } |
524 | 528 |
525 #if 0 | 529 #if 0 |
526 if(s->divx_version==500) | 530 if(s->divx_version==500) |