Commit d8962564 authored by Sebastien Alaiwan's avatar Sebastien Alaiwan Committed by Debargha Mukherjee

Reduce scope of local variable

Change-Id: Id8cc58ca56ebeea6b7f499a5fac4fb96e01d797b
parent 9752a2ea
...@@ -2926,7 +2926,6 @@ static void write_modes_sb(AV1_COMP *const cpi, const TileInfo *const tile, ...@@ -2926,7 +2926,6 @@ static void write_modes_sb(AV1_COMP *const cpi, const TileInfo *const tile,
MB_MODE_INFO *mbmi; MB_MODE_INFO *mbmi;
const int pack_token = !supertx_enabled; const int pack_token = !supertx_enabled;
TX_SIZE supertx_size; TX_SIZE supertx_size;
int plane;
#endif #endif
if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return;
...@@ -3120,7 +3119,7 @@ static void write_modes_sb(AV1_COMP *const cpi, const TileInfo *const tile, ...@@ -3120,7 +3119,7 @@ static void write_modes_sb(AV1_COMP *const cpi, const TileInfo *const tile,
if (!skip) { if (!skip) {
assert(*tok < tok_end); assert(*tok < tok_end);
for (plane = 0; plane < MAX_MB_PLANE; ++plane) { for (int plane = 0; plane < MAX_MB_PLANE; ++plane) {
#if CONFIG_MRC_TX && SIGNAL_ANY_MRC_MASK #if CONFIG_MRC_TX && SIGNAL_ANY_MRC_MASK
TX_TYPE tx_type = av1_get_tx_type(plane ? PLANE_TYPE_UV : PLANE_TYPE_Y, TX_TYPE tx_type = av1_get_tx_type(plane ? PLANE_TYPE_UV : PLANE_TYPE_Y,
xd, blk_row, blk_col, block, tx_size); xd, blk_row, blk_col, block, tx_size);
......
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