ref: 10cb17aec0c9dac4ac3d250d026baa9c014df35a
parent: 0665b09661e535b7c632c033636771a6203ec06c
parent: 2387024f417e18740340da8dd4ff3bc54997ffd9
author: James Zern <jzern@google.com>
date: Thu Nov 9 19:15:03 EST 2017
Merge "runtime error fix: bitdepth_conversion_avx2.h"
--- a/vpx_dsp/x86/bitdepth_conversion_avx2.h
+++ b/vpx_dsp/x86/bitdepth_conversion_avx2.h
@@ -21,7 +21,8 @@
static INLINE __m256i load_tran_low(const tran_low_t *a) {
#if CONFIG_VP9_HIGHBITDEPTH
const __m256i a_low = _mm256_loadu_si256((const __m256i *)a);
- return _mm256_packs_epi32(a_low, *(const __m256i *)(a + 8));
+ const __m256i a_high = _mm256_loadu_si256((const __m256i *)(a + 8));
+ return _mm256_packs_epi32(a_low, a_high);
#else
return _mm256_loadu_si256((const __m256i *)a);
#endif