| Index: source/libvpx/vp9/decoder/vp9_decodemv.c
|
| ===================================================================
|
| --- source/libvpx/vp9/decoder/vp9_decodemv.c (revision 290053)
|
| +++ source/libvpx/vp9/decoder/vp9_decodemv.c (working copy)
|
| @@ -435,6 +435,11 @@
|
|
|
| for (ref = 0; ref < 1 + is_compound; ++ref) {
|
| const MV_REFERENCE_FRAME frame = mbmi->ref_frame[ref];
|
| + const int ref_idx = frame - LAST_FRAME;
|
| + if (cm->frame_refs[ref_idx].sf.x_scale_fp == REF_INVALID_SCALE ||
|
| + cm->frame_refs[ref_idx].sf.y_scale_fp == REF_INVALID_SCALE )
|
| + vpx_internal_error(&cm->error, VPX_CODEC_UNSUP_BITSTREAM,
|
| + "Reference frame has invalid dimensions");
|
| vp9_find_mv_refs(cm, xd, tile, mi, frame, mbmi->ref_mvs[frame],
|
| mi_row, mi_col);
|
| }
|
|
|