* past end by one (callers fault) and resync_mb_y != 0
* causes problems for the first MB line, too.
*/
* past end by one (callers fault) and resync_mb_y != 0
* causes problems for the first MB line, too.
*/
if (context_count == 1) {
return decode_slice(avctx, &h);
} else {
if (context_count == 1) {
return decode_slice(avctx, &h);
} else {
for (i = 1; i < context_count; i++) {
hx = h->thread_context[i];
hx->s.err_recognition = avctx->err_recognition;
for (i = 1; i < context_count; i++) {
hx = h->thread_context[i];
hx->s.err_recognition = avctx->err_recognition;