diff options
author | Michael Goulet <mgoulet@fb.com> | 2022-06-16 10:14:50 +0200 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@mail.de> | 2022-06-20 11:08:43 +0200 |
commit | b7f6a933fa4873c7523586d6e203cfd1798decd6 (patch) | |
tree | 67d480d48801998d296d1698c5da13a2c11be642 /libavutil/hwcontext_vaapi.h | |
parent | 0aa5dd084b8e26c9d644354c42c9252cf3b19cea (diff) | |
download | ffmpeg-b7f6a933fa4873c7523586d6e203cfd1798decd6.tar.gz |
tests/checkasm/sw_scale: Fix alignment for movdqa
SSE3 instruction movdqa in ff_yuv2yuvX_sse3() expects a 16-byte aligned address for a memory address, or else a segfault is generated.
The src_pixels buffer below was not aligned to 16 bytes on the stack necessarily, so we got segfaults during fate-checkasm-sw_scale.
Therefore 16-byte align all of these local variables, aligning them too much shouldn't hurt.
Diffstat (limited to 'libavutil/hwcontext_vaapi.h')
0 files changed, 0 insertions, 0 deletions