1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00
Files
ffmpeg/libswresample
Hao Chen 88ae625e69 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>
2026-08-21 12:27:48 +00:00
..
2026-08-17 22:21:44 +00:00
2025-08-03 13:48:47 +02:00