Skip to content
Snippets Groups Projects
Commit d7eb8d84 authored by Andrey Semashev's avatar Andrey Semashev Committed by Michael Niedermayer
Browse files

lavfi/tests: Fix 16-bit vf_blend test to avoid memory not aligned to 2 bytes


Generic C implementation of vf_blend performs reads and writes of 16-bit
elements, which requires the buffers to be aligned to at least 2-byte
boundary.

Also, the change fixes source buffer overrun caused by src_offset being
added to to test handling of misaligned buffers.

Fixes: #7226

Reviewed-by: default avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 500e6387
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment