Mercurial > libavcodec.hg
comparison wmv2.c @ 1144:21c85c4ab2f0 libavcodec
error resilience cleanup (its faster too...)
author | michaelni |
---|---|
date | Thu, 20 Mar 2003 01:00:57 +0000 |
parents | 77ccf7fe3bd0 |
children | 0951691c4225 |
comparison
equal
deleted
inserted
replaced
1143:a4facfd78935 | 1144:21c85c4ab2f0 |
---|---|
708 int cbp, code, i; | 708 int cbp, code, i; |
709 uint8_t *coded_val; | 709 uint8_t *coded_val; |
710 | 710 |
711 if(w->j_type) return 0; | 711 if(w->j_type) return 0; |
712 | 712 |
713 s->error_status_table[s->mb_x + s->mb_y*s->mb_width]= 0; | |
714 | |
715 if (s->pict_type == P_TYPE) { | 713 if (s->pict_type == P_TYPE) { |
716 if(s->mb_type[s->mb_y * s->mb_width + s->mb_x]&MB_TYPE_SKIPED){ | 714 if(s->mb_type[s->mb_y * s->mb_width + s->mb_x]&MB_TYPE_SKIPED){ |
717 /* skip mb */ | 715 /* skip mb */ |
718 s->mb_intra = 0; | 716 s->mb_intra = 0; |
719 for(i=0;i<6;i++) | 717 for(i=0;i<6;i++) |