You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
x86/tx_float: correctly load the transform length
The field is a standard field, yet we were loading it as if it was a quadword. This worked for forward transforms by chance, but broke when the transform was inverse. checkasm couldn't catch that because we only test forward transforms, which are identical to inverse transforms but with a different revtab.
This commit is contained in:
@ -884,7 +884,7 @@ ALIGN 16
|
|||||||
%macro FFT_SPLIT_RADIX_FN 1
|
%macro FFT_SPLIT_RADIX_FN 1
|
||||||
INIT_YMM %1
|
INIT_YMM %1
|
||||||
cglobal split_radix_fft_float, 4, 8, 16, 272, lut, out, in, len, tmp, itab, rtab, tgt
|
cglobal split_radix_fft_float, 4, 8, 16, 272, lut, out, in, len, tmp, itab, rtab, tgt
|
||||||
mov lenq, [lutq + AVTXContext.m]
|
movsxd lenq, dword [lutq + AVTXContext.m]
|
||||||
mov lutq, [lutq + AVTXContext.revtab]
|
mov lutq, [lutq + AVTXContext.revtab]
|
||||||
mov tgtq, lenq
|
mov tgtq, lenq
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user