summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2017-11-09 12:26:43 -0800
committerScott LaVarnway <slavarnway@google.com>2017-11-09 12:26:43 -0800
commit2387024f417e18740340da8dd4ff3bc54997ffd9 (patch)
tree1b89bea7edec90687501c75f379220f69c09495e
parentcf8039c25f3e275ef4f2ca350fcd42680b9413d3 (diff)
downloadlibvpx-2387024f417e18740340da8dd4ff3bc54997ffd9.tar
libvpx-2387024f417e18740340da8dd4ff3bc54997ffd9.tar.gz
libvpx-2387024f417e18740340da8dd4ff3bc54997ffd9.tar.bz2
libvpx-2387024f417e18740340da8dd4ff3bc54997ffd9.zip
runtime error fix: bitdepth_conversion_avx2.h
Change-Id: I7364a157de39eb7137b599808474b8d46d19d376
-rw-r--r--vpx_dsp/x86/bitdepth_conversion_avx2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vpx_dsp/x86/bitdepth_conversion_avx2.h b/vpx_dsp/x86/bitdepth_conversion_avx2.h
index b8fd1cb58..3552c07cd 100644
--- 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