Files
Hao Chen b5914511d4 libswresample/aarch64: Fix sign extension in audio conversion
The channel count passed as a 32-bit register (w3) is later used
as a 64-bit register (x3) for pointer offsets without proper sign
extension, resulting in misbehavior. This commit adds an explicit
sxtw instruction to ensure the channel count is properly sign-extended.

Additionally, standardizes the use of the 32-bit w2 and w12 registers
in the core length logic across functions to prevent sign extension
issues with lengths without relying on explicit 64-bit casting, matching
expected input bounds tracking.

Signed-off-by: Hao Chen <haochenc@google.com>
(cherry picked from commit 88ae625e69)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-09-04 21:53:59 +02:00
..
…
2021-04-19 14:34:10 +02:00