diff options
author | Martin Storsjö <martin@martin.st> | 2022-10-25 13:13:34 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-11-04 15:28:11 +0300 |
commit | a6e26053c21362bb882932f3cfd1f1dfa2551f1d (patch) | |
tree | 7950f6f446760d3bbdef58ad0513a546d48684b9 /libavcodec/alpha/mpegvideo_alpha.c | |
parent | b4a4a3149911b0dd24b6268a04849673e16ef99f (diff) |
swscale: aarch64: Fix yuv2rgb with negative stridesrelease/5.1
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/alpha/mpegvideo_alpha.c')
0 files changed, 0 insertions, 0 deletions