Commit affbe5e1 authored by Urvang Joshi's avatar Urvang Joshi Committed by James Zern
Browse files

get_min_tx_size: assert() doesn't need an 'if'.

Change-Id: Id2be191fb48ed8d65b452499e1a1a1f470359321
parent 331662e9
......@@ -892,7 +892,7 @@ static INLINE void av1_zero_left_context(MACROBLOCKD *const xd) {
static INLINE TX_SIZE get_min_tx_size(TX_SIZE tx_size) {
if (tx_size >= TX_SIZES_ALL) assert(0);
assert(tx_size < TX_SIZES_ALL);
return txsize_sqr_map[tx_size];
Supports Markdown
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