Unified · Split
| @@ -832,8 +832,10 @@ void ff_er_add_slice(ERContext *s, int startx, int starty, · 831 unmodified lines | ||
| 832 | 832 | int prev_status = s->error_status_table[s->mb_index2xy[start_i - 1]]; |
| 833 | 833 | |
| 834 | 834 | prev_status &= ~ VP_START; |
| 835 | − if (prev_status != (ER_MV_END | ER_DC_END | ER_AC_END)) | |
| 835 | + if (prev_status != (ER_MV_END | ER_DC_END | ER_AC_END)) { | |
| 836 | + s->error_occurred = 1; | |
| 836 | 837 | s->error_count = INT_MAX; |
| 838 | + } | |
| 837 | 839 | } |
| 838 | 840 | } |
| 839 | 841 | |