shithub: libvpx

Download patch

ref: ba7ea4456f175bb23e86456abf95da8256d17c09
parent: 0c00af126dcda6fddcc683cc15c1be06b3285054
author: James Zern <[email protected]>
date: Sat Oct 10 07:16:20 EDT 2015

tile_worker_hook: fix -Wclobbered warning

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

Change-Id: I5dbf8e6792e4c0f34a683434b4fd06e3b4c75c4b

--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -1572,7 +1572,7 @@
 // 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;