Add "const" to the coded_tile_data Added "const" to the coded_tile_data in aom_tile_data to be consistent with what is in tile_buffers. Change-Id: I438c378701a9ef6158a04b063308a702c7b3d947
diff --git a/aom/aomdx.h b/aom/aomdx.h index 6b98ac2..bada98d 100644 --- a/aom/aomdx.h +++ b/aom/aomdx.h
@@ -68,7 +68,7 @@ /*! Tile data size. */ size_t coded_tile_data_size; /*! Tile's start address. */ - void *coded_tile_data; + const void *coded_tile_data; } aom_tile_data; /*!\enum aom_dec_control_id
diff --git a/av1/av1_dx_iface.c b/av1/av1_dx_iface.c index 682aadc..e52da46 100644 --- a/av1/av1_dx_iface.c +++ b/av1/av1_dx_iface.c
@@ -883,7 +883,7 @@ tile_data->coded_tile_data_size = pbi->tile_buffers[pbi->dec_tile_row][pbi->dec_tile_col].size; tile_data->coded_tile_data = - (void *)pbi->tile_buffers[pbi->dec_tile_row][pbi->dec_tile_col].data; + pbi->tile_buffers[pbi->dec_tile_row][pbi->dec_tile_col].data; return AOM_CODEC_OK; } else { return AOM_CODEC_ERROR;