diff options
author | Yunqing Wang <yunqingwang@google.com> | 2015-01-15 09:21:31 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2015-01-15 09:21:31 -0800 |
commit | d3ccb3fe2eb1af8ceea0ed267c4a118e0253ebff (patch) | |
tree | d566754f849bb7e078596b96a45613c62bcbbcb4 /vp9 | |
parent | 5ca96f9d60d3ad7f538b949ce898262bc815bb1f (diff) | |
parent | 99b99831e467ad97336103e48f22e9c7956a51ef (diff) | |
download | libvpx-d3ccb3fe2eb1af8ceea0ed267c4a118e0253ebff.tar libvpx-d3ccb3fe2eb1af8ceea0ed267c4a118e0253ebff.tar.gz libvpx-d3ccb3fe2eb1af8ceea0ed267c4a118e0253ebff.tar.bz2 libvpx-d3ccb3fe2eb1af8ceea0ed267c4a118e0253ebff.zip |
Merge "Align thread data in vp9_ethread"
Diffstat (limited to 'vp9')
-rw-r--r-- | vp9/encoder/vp9_ethread.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_ethread.c b/vp9/encoder/vp9_ethread.c index daf3da44c..9ee32366c 100644 --- a/vp9/encoder/vp9_ethread.c +++ b/vp9/encoder/vp9_ethread.c @@ -183,7 +183,9 @@ void vp9_encode_tiles_mt(VP9_COMP *cpi) { // 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; |