aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2017-01-06 18:03:31 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-01-06 18:03:31 +0000
commitbe649c294f41bc2205b9363ea45f2f3b4f721710 (patch)
tree00600826f981928fc8a74e6f41e1cbf2be08fcb2
parent03c972ef16a6f0533604dbd542ba2e6886293585 (diff)
parent8202db16f8bc7f4e5558faa4c907b45d6af569f0 (diff)
downloadlibvpx-be649c294f41bc2205b9363ea45f2f3b4f721710.tar.gz
libvpx: Cherry-pick 1961a92 from upstream am: 57e9ae1497 am: 90b12e62bf
am: 8202db16f8 Change-Id: I04ac51370daadf6ecf6e07730d264fb4be483a24
-rw-r--r--libvpx/vp9/decoder/vp9_decodeframe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvpx/vp9/decoder/vp9_decodeframe.c b/libvpx/vp9/decoder/vp9_decodeframe.c
index f1916639b..d0ba63136 100644
--- a/libvpx/vp9/decoder/vp9_decodeframe.c
+++ b/libvpx/vp9/decoder/vp9_decodeframe.c
@@ -1585,7 +1585,6 @@ static int tile_worker_hook(TileWorkerData *const tile_data,
return 0;
}
- tile_data->xd.error_info = &tile_data->error_info;
tile_data->xd.corrupted = 0;
do {
@@ -1597,6 +1596,8 @@ static int tile_worker_hook(TileWorkerData *const tile_data,
&tile_data->error_info, &tile_data->bit_reader,
pbi->decrypt_cb, pbi->decrypt_state);
vp9_init_macroblockd(&pbi->common, &tile_data->xd, tile_data->dqcoeff);
+ // init resets xd.error_info
+ tile_data->xd.error_info = &tile_data->error_info;
for (mi_row = tile->mi_row_start; mi_row < tile->mi_row_end;
mi_row += MI_BLOCK_SIZE) {