Mercurial > libavcodec.hg
comparison h263dec.c @ 1137:7fb0b38ab5a3 libavcodec
cleaner & more flexible edge bug workaround
author | michaelni |
---|---|
date | Sat, 15 Mar 2003 20:47:09 +0000 |
parents | 64c7c76ed17c |
children | e10e841c9bf0 |
comparison
equal
deleted
inserted
replaced
1136:9eb49e9e8dd9 | 1137:7fb0b38ab5a3 |
---|---|
536 if(s->divx_version) | 536 if(s->divx_version) |
537 s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE; | 537 s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE; |
538 //printf("padding_bug_score: %d\n", s->padding_bug_score); | 538 //printf("padding_bug_score: %d\n", s->padding_bug_score); |
539 if(s->divx_version==501 && s->divx_build==20020416) | 539 if(s->divx_version==501 && s->divx_build==20020416) |
540 s->padding_bug_score= 256*256*256*64; | 540 s->padding_bug_score= 256*256*256*64; |
541 | |
542 if(s->divx_version>=500){ | |
543 s->workaround_bugs|= FF_BUG_EDGE; | |
544 } | |
545 | |
541 #if 0 | 546 #if 0 |
542 if(s->divx_version==500) | 547 if(s->divx_version==500) |
543 s->padding_bug_score= 256*256*256*64; | 548 s->padding_bug_score= 256*256*256*64; |
544 | 549 |
545 /* very ugly XVID padding bug detection FIXME/XXX solve this differently | 550 /* very ugly XVID padding bug detection FIXME/XXX solve this differently |