From 5ff0d2acaef87950a254cea9c75153f48caaa729 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 4 Dec 2017 15:08:43 +0100 Subject: [PATCH] avfilter/x86/vf_hflip.asm: fix building on x32 Signed-off-by: Paul B Mahol --- libavfilter/x86/vf_hflip.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavfilter/x86/vf_hflip.asm b/libavfilter/x86/vf_hflip.asm index 867dcaeed5..d14cc086e5 100644 --- a/libavfilter/x86/vf_hflip.asm +++ b/libavfilter/x86/vf_hflip.asm @@ -30,7 +30,7 @@ pb_flip_short: db 14,15,12,13,10,11,8,9,6,7,4,5,2,3,0,1 SECTION .text INIT_XMM ssse3 -cglobal hflip_byte, 3, 6, 3, src, dst, w, x, v, r +cglobal hflip_byte, 3, 5, 3, src, dst, w, r, x mova m0, [pb_flip_byte] mov xq, 0 mov wd, dword wm @@ -59,16 +59,16 @@ cglobal hflip_byte, 3, 6, 3, src, dst, w, x, v, r .loop1: neg xq - mov vb, [srcq + xq] + mov rb, [srcq + xq] neg xq - mov [dstq + xq], vb + mov [dstq + xq], rb add xq, 1 cmp xq, wq jl .loop1 .end: RET -cglobal hflip_short, 3, 6, 3, src, dst, w, x, v, r +cglobal hflip_short, 3, 5, 3, src, dst, w, r, x mova m0, [pb_flip_short] mov xq, 0 mov wd, dword wm @@ -98,9 +98,9 @@ cglobal hflip_short, 3, 6, 3, src, dst, w, x, v, r .loop1: neg xq - mov vw, [srcq + xq] + mov rw, [srcq + xq] neg xq - mov [dstq + xq], vw + mov [dstq + xq], rw add xq, 2 cmp xq, wq jl .loop1