Commit 284fe197 authored by Dominic Symes's avatar Dominic Symes
Browse files

intrabc: signal error on illegal intrabc motion vectors

This change reverts to signalling an error on illegal intrabc motion 
vectors as discussed in the following bug:

BUG=aommedia:1229

Change-Id: Idbd4e43141b885eaa76d50247a196a1305518e32
parent f32dabd2
......@@ -1039,9 +1039,8 @@ static void read_intrabc_info(AV1_COMMON *const cm, MACROBLOCKD *const xd,
valid_dv = valid_dv && assign_dv(cm, xd, &mbmi->mv[0], &dv_ref, mi_row,
mi_col, bsize, r);
if (!valid_dv) {
// Intra bc motion vectors are not valid - disable intrabc
mbmi->use_intrabc = 0;
return;
// Intra bc motion vectors are not valid - signal corrupt frame
aom_merge_corrupted_flag(&xd->corrupted, 1);
}
#if !CONFIG_TXK_SEL
av1_read_tx_type(cm, xd, r);
......
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