[Libav-user] avcodec_decode_video2 crash with HEVC and get_buffer2
h.leppkes at gmail.com
Fri Mar 11 14:23:12 CET 2016
On Fri, Mar 11, 2016 at 2:11 PM, Никита Скиба <zaulan at gmail.com> wrote:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 4764.0x268c]
> 0x000007fecdd455bf in ff_hevc_transform_add32_8_avx2 ()
> from C:\Program Files\AxxonSoft\AxxonSmart\bin\avcodec-itv-3.0.1-57.dll
> (gdb) bt
> #0 0x000007fecdd455bf in ff_hevc_transform_add32_8_avx2 ()
Since it crashes in AVX2 code, you should verify that your memory
buffers are properly 32-byte aligned.
The code you originally posted does not show where the memory is
allocated, so if the allocations are not aligned on a 32-byte
boundary, it could cause segfaults in AVX2.
More information about the Libav-user