ref: d3ccb3fe2eb1af8ceea0ed267c4a118e0253ebff
parent: 5ca96f9d60d3ad7f538b949ce898262bc815bb1f
parent: 99b99831e467ad97336103e48f22e9c7956a51ef
author: Yunqing Wang <[email protected]>
date: Thu Jan 15 04:21:31 EST 2015
Merge "Align thread data in vp9_ethread"
--- a/vp9/encoder/vp9_ethread.c
+++ b/vp9/encoder/vp9_ethread.c
@@ -183,7 +183,9 @@
// Allocate thread data.
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.
thread_data->td->leaf_tree = NULL;
thread_data->td->pc_tree = NULL;