[FFmpeg-cvslog] avfilter/x86/vf_hflip.asm: fix building on x32

Paul B Mahol git at videolan.org
Mon Dec 4 16:10:25 EET 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Dec  4 15:08:43 2017 +0100| [5ff0d2acaef87950a254cea9c75153f48caaa729] | committer: Paul B Mahol

avfilter/x86/vf_hflip.asm: fix building on x32

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ff0d2acaef87950a254cea9c75153f48caaa729
---

 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



More information about the ffmpeg-cvslog mailing list