Commit be37c6ab authored by Zoe Liu's avatar Zoe Liu

Merge if statements with identical conditions

Change-Id: I8092e3bbabbcf5efb5d0c659418fdd3c6ad90f2c
parent 5b8c5fdc
......@@ -597,11 +597,9 @@ static void encode_block(int plane, int block, int blk_row, int blk_col,
av1_set_txb_context(x, plane, block, tx_size, a, l);
if (p->eobs[block]) *(args->skip) = 0;
if (p->eobs[block] != 0)
if (p->eobs[block]) {
*(args->skip) = 0;
{
TX_TYPE tx_type =
av1_get_tx_type(pd->plane_type, xd, blk_row, blk_col, tx_size);
av1_inverse_transform_block(xd, dqcoeff, plane, tx_type, tx_size, dst,
......
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