hevc/avx2 fixing segfault