Index: source/libvpx/vp9/decoder/vp9_decodemv.c |
=================================================================== |
--- source/libvpx/vp9/decoder/vp9_decodemv.c (revision 293588) |
+++ source/libvpx/vp9/decoder/vp9_decodemv.c (working copy) |
@@ -438,11 +438,8 @@ |
RefBuffer *ref_buf = &cm->frame_refs[frame - LAST_FRAME]; |
xd->block_refs[ref] = ref_buf; |
if ((!vp9_is_valid_scale(&ref_buf->sf))) |
- vpx_internal_error(&cm->error, VPX_CODEC_UNSUP_BITSTREAM, |
+ vpx_internal_error(xd->error_info, VPX_CODEC_UNSUP_BITSTREAM, |
"Reference frame has invalid dimensions"); |
- if (ref_buf->buf->corrupted) |
- vpx_internal_error(&cm->error, VPX_CODEC_CORRUPT_FRAME, |
- "Block reference is corrupt"); |
vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, |
&ref_buf->sf); |
vp9_find_mv_refs(cm, xd, tile, mi, frame, mbmi->ref_mvs[frame], |
@@ -454,7 +451,7 @@ |
if (vp9_segfeature_active(&cm->seg, mbmi->segment_id, SEG_LVL_SKIP)) { |
mbmi->mode = ZEROMV; |
if (bsize < BLOCK_8X8) { |
- vpx_internal_error(&cm->error, VPX_CODEC_UNSUP_BITSTREAM, |
+ vpx_internal_error(xd->error_info, VPX_CODEC_UNSUP_BITSTREAM, |
"Invalid usage of segement feature on small blocks"); |
return; |
} |