aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/dsputil.asm
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-26 13:02:37 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-26 13:07:46 +0100
commit9b9205e760d226a7dfa1c7ba8d94694f097c8510 (patch)
treed3b7d444d5af1598700709c6da14d9e3ec9ea4a9 /libavcodec/x86/dsputil.asm
parentcb69a9dbf4c4feca6f1c817a6c976ea7afdbea3b (diff)
downloadffmpeg-9b9205e760d226a7dfa1c7ba8d94694f097c8510.tar.gz
x86/dsputil.asm: make unaligned bswap actually work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/dsputil.asm')
-rw-r--r--libavcodec/x86/dsputil.asm1
1 files changed, 1 insertions, 0 deletions
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