Commit dd186b58 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/error_resilience: Fix mbskip_table==NULL codepath

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b37b0a58
......@@ -1024,7 +1024,7 @@ void ff_er_frame_end(ERContext *s)
const int mb_xy = s->mb_index2xy[i];
int error = s->error_status_table[mb_xy];
if (s->mbskip_table && !s->mbskip_table[mb_xy]) // FIXME partition specific
if (!s->mbskip_table || !s->mbskip_table[mb_xy]) // FIXME partition specific
distance++;
if (error & (1 << error_type))
distance = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment