Commit 2387024f authored by Scott LaVarnway's avatar Scott LaVarnway

runtime error fix: bitdepth_conversion_avx2.h

Change-Id: I7364a157de39eb7137b599808474b8d46d19d376
parent cf8039c2
......@@ -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
......
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