Re: [FFmpeg-devel] [PATCH] lavfi/tests: Fix 16-bit vf_blend test to avoid memory not aligned to 2 bytes

2018-05-29 Thread Michael Niedermayer
On Tue, May 29, 2018 at 02:41:33PM +0200, Paul B Mahol wrote: > On 5/29/18, Andrey Semashev wrote: > > On 05/24/18 00:07, Andrey Semashev wrote: > >> 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

Re: [FFmpeg-devel] [PATCH] lavfi/tests: Fix 16-bit vf_blend test to avoid memory not aligned to 2 bytes

2018-05-29 Thread Paul B Mahol
On 5/29/18, Andrey Semashev wrote: > On 05/24/18 00:07, Andrey Semashev wrote: >> 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

Re: [FFmpeg-devel] [PATCH] lavfi/tests: Fix 16-bit vf_blend test to avoid memory not aligned to 2 bytes

2018-05-29 Thread Andrey Semashev
On 05/24/18 00:07, Andrey Semashev wrote: 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

[FFmpeg-devel] [PATCH] lavfi/tests: Fix 16-bit vf_blend test to avoid memory not aligned to 2 bytes

2018-05-23 Thread Andrey Semashev
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 ---