From 9b9205e760d226a7dfa1c7ba8d94694f097c8510 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 26 Mar 2013 13:02:37 +0100 Subject: [PATCH] x86/dsputil.asm: make unaligned bswap actually work Signed-off-by: Michael Niedermayer --- libavcodec/x86/dsputil.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/x86/dsputil.asm b/libavcodec/x86/dsputil.asm index fdc5c6adaa..77069e20f8 100644 --- a/libavcodec/x86/dsputil.asm +++ b/libavcodec/x86/dsputil.asm @@ -607,6 +607,7 @@ cglobal bswap32_buf, 3,4,3 cglobal bswap32_buf, 3,4,5 mov r3, r1 %endif + or r3, r0 and r3, 15 jz .start_align BSWAP_LOOPS u