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:28 +0200 |
commit | 244b61e276c71439d02f9a3995a29cf670404d0c (patch) | |
tree | 3de38376c5eafea8d1780efb17499be2b0f6a88b /libswscale/aarch64/swscale_unscaled.c | |
parent | 872001459cf0a20c6f44105f485d125c8e22fc76 (diff) | |
download | ffmpeg-244b61e276c71439d02f9a3995a29cf670404d0c.tar.gz |
swscale: aarch64: Fix yuv2rgb with negative strides
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 'libswscale/aarch64/swscale_unscaled.c')
0 files changed, 0 insertions, 0 deletions