summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegenc_common.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-10-25 13:13:34 +0300
committerMartin Storsjö <martin@martin.st>2022-11-04 14:32:53 +0200
commita4ba6e7d2c398bf6bccca85c5819b52ec579e89b (patch)
treed83d732f3eaa08a2195564e9eb7e3e8767ebc5ef /libavcodec/mjpegenc_common.c
parenta2e14839dcf04e03110bc3a7c7b154eb7cbacfaf (diff)
downloadffmpeg-a4ba6e7d2c398bf6bccca85c5819b52ec579e89b.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 'libavcodec/mjpegenc_common.c')
0 files changed, 0 insertions, 0 deletions