From: Marco Paniconi Date: Tue, 31 Jul 2018 16:33:40 +0000 (-0700) Subject: vp9: Remove assert from model_rd in non-rd pickmode. X-Git-Tag: v1.8.0~469 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79415f7e3441e18f62b89f80a4e6cd0eafb00bf7;p=libvpx vp9: Remove assert from model_rd in non-rd pickmode. The assert checks for tx_size >= 8x8, but 4x4 can be set in some cases. Change-Id: I8bf9683e1add768becaa1208e1709ad0470e3850 --- diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 50a2c9057..792a163fb 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -416,7 +416,6 @@ static void model_rd_for_sb_y_large(VP9_COMP *cpi, BLOCK_SIZE bsize, tx_mode_to_biggest_tx_size[cpi->common.tx_mode]); } - assert(tx_size >= TX_8X8); xd->mi[0]->tx_size = tx_size; if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && x->zero_temp_sad_source &&