Commit ba7ea445 authored by James Zern's avatar James Zern
Browse files

tile_worker_hook: fix -Wclobbered warning

*tile should be marked volatile like the others due to the use of

Change-Id: I5dbf8e6792e4c0f34a683434b4fd06e3b4c75c4b
parent 0c00af12
......@@ -1572,7 +1572,7 @@ static const uint8_t *decode_tiles(VP9Decoder *pbi,
// present in the tile buffer group or NULL otherwise.
static int tile_worker_hook(TileWorkerData *const tile_data,
VP9Decoder *const pbi) {
TileInfo *const tile = &tile_data->xd.tile;
TileInfo *volatile tile = &tile_data->xd.tile;
const int final_col = (1 << pbi->common.log2_tile_cols) - 1;
const uint8_t *volatile bit_reader_end = NULL;
volatile int n = tile_data->buf_start;
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