Browse Source

Revert "Revert "x86: fft: win64: fix stack alignment for memcpy() call""

This reverts commit f767658414.

The bug it introduces has been fixed.
tags/n1.0
Nicolas George 13 years ago
parent
commit
d4c45b8adf
1 changed files with 9 additions and 7 deletions
  1. +9
    -7
      libavcodec/x86/fft_mmx.asm

+ 9
- 7
libavcodec/x86/fft_mmx.asm View File

@@ -641,19 +641,21 @@ cglobal fft_permute, 2,7,1
%if ARCH_X86_64
mov r0, r1
mov r1, r5
%endif
%if WIN64
sub rsp, 8
call memcpy
add rsp, 8
RET
%elif ARCH_X86_64
jmp memcpy
%else
push r2
push r5
push r1
%endif
%if ARCH_X86_64 && WIN64 == 0
jmp memcpy
%else
call memcpy
%if ARCH_X86_32
add esp, 12
%endif
REP_RET
RET
%endif

cglobal imdct_calc, 3,5,3


Loading…
Cancel
Save