aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/golomb.h
diff options
context:
space:
mode:
authorAndrey Semashev <andrey.semashev@gmail.com>2018-05-24 00:07:36 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2018-05-30 02:42:10 +0200
commitd7eb8d84757155c1fb0fe1a8269025e22e9bf0ec (patch)
tree618fa9eb66081405b3f946d44f31fbd46d9a42b7 /libavcodec/golomb.h
parent500e6387116230c905b7a39baae7aa86d627a446 (diff)
downloadffmpeg-d7eb8d84757155c1fb0fe1a8269025e22e9bf0ec.tar.gz
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: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/golomb.h')
0 files changed, 0 insertions, 0 deletions