Commit 8657ad75 authored by Yunqing Wang's avatar Yunqing Wang

Handle the invalid warped model error

Handled the invalid warped model error in the decoder.

BUG=aomedia:610

Change-Id: I8a67a4f6c6fe4dd6c2a71fdef432b3f689e9efcb
parent 5d61b609
......@@ -2549,7 +2549,7 @@ static void read_inter_block_mode_info(AV1Decoder *const pbi,
if (find_projection(mbmi->num_proj_ref[0], pts, pts_inref, bsize,
mbmi->mv[0].as_mv.row, mbmi->mv[0].as_mv.col,
&mbmi->wm_params[0], mi_row, mi_col)) {
assert(0 && "Invalid Warped Model.");
aom_internal_error(&cm->error, AOM_CODEC_ERROR, "Invalid Warped Model");
}
}
#endif // CONFIG_WARPED_MOTION
......
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