diff options
author | Martin Storsjö <martin@martin.st> | 2022-10-25 13:13:34 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-11-04 14:33:49 +0200 |
commit | 9c008fdbd43c4a9f2c2ab9acd6a7d223d64fec89 (patch) | |
tree | 4b3c33099e3e152a0f1c19b896a5fbe6c64e41d2 /libavcodec/binkdsp.h | |
parent | c655749d1d007a8fcda4d85032733e0547d24c0d (diff) | |
download | ffmpeg-release/3.2.tar.gz |
swscale: aarch64: Fix yuv2rgb with negative stridesrelease/3.2
Treat the 32 bit stride registers as signed.
Alternatively, we could make the stride arguments ptrdiff_t instead
of int, and changing all of the assembly to operate on these
registers with their full 64 bit width, but that's a much larger
and more intrusive change (and risks missing some operation, which
would clamp the intermediates to 32 bit still).
Fixes: https://trac.ffmpeg.org/ticket/9985
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit cb803a0072cb98945dcd3f1660bd2a975650ce42)
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/binkdsp.h')
0 files changed, 0 insertions, 0 deletions