s->dest[1] = s->current_picture.f.data[1] + (s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16 >> s->chroma_x_shift);
s->dest[2] = s->current_picture.f.data[2] + (s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16 >> s->chroma_x_shift);
- assert(ref == 0);
+ if (ref)
+ av_log(s->avctx, AV_LOG_DEBUG, "Interlaced error concealment is not fully implemented\n");
ff_MPV_decode_mb(s, s->block);
}
free_picture_tables(pic);
if (shared) {
- assert(pic->f.data[0]);
+ av_assert0(pic->f.data[0]);
pic->shared = 1;
} else {
- assert(!pic->f.data[0]);
+ av_assert0(!pic->f.data[0]);
if (alloc_frame_buffer(s, pic) < 0)
return -1;
return ret;
}
- assert(s->pict_type == AV_PICTURE_TYPE_I || (s->last_picture_ptr &&
+ av_assert0(s->pict_type == AV_PICTURE_TYPE_I || (s->last_picture_ptr &&
s->last_picture_ptr->f.data[0]));
if (s->picture_structure!= PICT_FRAME) {
break;
}
}
- assert(i < MAX_PICTURE_COUNT);
+ av_assert0(i < MAX_PICTURE_COUNT);
#endif
// clear copies, to avoid confusion