mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
er: set error_occured on missing slices
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
17e1b3cd14
commit
d244a615f6
@ -832,9 +832,11 @@ void ff_er_add_slice(ERContext *s, int startx, int starty,
|
||||
int prev_status = s->error_status_table[s->mb_index2xy[start_i - 1]];
|
||||
|
||||
prev_status &= ~ VP_START;
|
||||
if (prev_status != (ER_MV_END | ER_DC_END | ER_AC_END))
|
||||
if (prev_status != (ER_MV_END | ER_DC_END | ER_AC_END)) {
|
||||
s->error_occurred = 1;
|
||||
s->error_count = INT_MAX;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ff_er_frame_end(ERContext *s)
|
||||
|
Loading…
Reference in New Issue
Block a user