Commit d3ccb3fe authored by Yunqing Wang's avatar Yunqing Wang Committed by Gerrit Code Review

Merge "Align thread data in vp9_ethread"

parents 5ca96f9d 99b99831
...@@ -183,7 +183,9 @@ void vp9_encode_tiles_mt(VP9_COMP *cpi) { ...@@ -183,7 +183,9 @@ void vp9_encode_tiles_mt(VP9_COMP *cpi) {
// Allocate thread data. // Allocate thread data.
CHECK_MEM_ERROR(cm, thread_data->td, CHECK_MEM_ERROR(cm, thread_data->td,
vpx_calloc(1, sizeof(*thread_data->td))); vpx_memalign(32, sizeof(*thread_data->td)));
vp9_zero(*thread_data->td);
// Set up pc_tree. // Set up pc_tree.
thread_data->td->leaf_tree = NULL; thread_data->td->leaf_tree = NULL;
thread_data->td->pc_tree = NULL; thread_data->td->pc_tree = NULL;
......
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