diff options
author | James Zern <jzern@google.com> | 2015-10-10 11:16:20 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2015-10-10 11:17:08 -0700 |
commit | ba7ea4456f175bb23e86456abf95da8256d17c09 (patch) | |
tree | cf4732f48bca5b64f9fe2a8af978b2e557ff014f | |
parent | 0c00af126dcda6fddcc683cc15c1be06b3285054 (diff) | |
download | libvpx-ba7ea4456f175bb23e86456abf95da8256d17c09.tar.gz |
tile_worker_hook: fix -Wclobbered warning
*tile should be marked volatile like the others due to the use of
setjmp()
Change-Id: I5dbf8e6792e4c0f34a683434b4fd06e3b4c75c4b
-rw-r--r-- | vp9/decoder/vp9_decodeframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_decodeframe.c b/vp9/decoder/vp9_decodeframe.c index d4d45385a..8f20686f2 100644 --- a/vp9/decoder/vp9_decodeframe.c +++ b/vp9/decoder/vp9_decodeframe.c @@ -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; |