Mercurial > libavcodec.hg
comparison error_resilience.c @ 1175:d2fd27d01df8 libavcodec
fixing slice decoding, dunno why the regression tests didnt catch that ...
author | michaelni |
---|---|
date | Thu, 10 Apr 2003 01:39:53 +0000 |
parents | 21c85c4ab2f0 |
children | fea03d2c4946 |
comparison
equal
deleted
inserted
replaced
1174:2de2a847af67 | 1175:d2fd27d01df8 |
---|---|
612 int i; | 612 int i; |
613 for(i=start_xy; i<end_xy; i++){ | 613 for(i=start_xy; i<end_xy; i++){ |
614 s->error_status_table[i] &= mask; | 614 s->error_status_table[i] &= mask; |
615 } | 615 } |
616 } | 616 } |
617 | 617 |
618 s->error_status_table[start_xy] |= VP_START; | |
619 | |
620 if(end_xy < s->mb_num){ | 618 if(end_xy < s->mb_num){ |
621 s->error_status_table[end_xy] &= mask; | 619 s->error_status_table[end_xy] &= mask; |
622 s->error_status_table[end_xy] |= status; | 620 s->error_status_table[end_xy] |= status; |
623 } | 621 } |
622 | |
623 s->error_status_table[start_xy] |= VP_START; | |
624 } | 624 } |
625 | 625 |
626 void ff_er_frame_end(MpegEncContext *s){ | 626 void ff_er_frame_end(MpegEncContext *s){ |
627 int i, mb_x, mb_y, error, error_type; | 627 int i, mb_x, mb_y, error, error_type; |
628 int distance; | 628 int distance; |