diff --git a/libavcodec/x86/dwt_yasm.asm b/libavcodec/x86/dwt_yasm.asm index b8dccb86f7..71e7a79b66 100644 --- a/libavcodec/x86/dwt_yasm.asm +++ b/libavcodec/x86/dwt_yasm.asm @@ -162,23 +162,6 @@ cglobal vertical_compose_haar_%1, 3,4,3, b0, b1, width %endrep %endmacro -; On x86-64 this does a tail call to the C function to do the final bit -; x86-32 doesn't because isn't enough stack space for the additional argument x -%macro END_HORIZONTAL 1 - shr wd, 1 -%ifdef ARCH_X86_64 - RET ;This RET was a CLEANUP call - jmp %1 -%else - push xd - push wd - push tmpd - push bd - call %1 - add esp, 16 - RET -%endif -%endmacro %macro HAAR_HORIZONTAL 2 ; void horizontal_compose_haari(IDWTELEM *b, IDWTELEM *tmp, int width)