[FFmpeg-cvslog] x86/dsputil.asm: make unaligned bswap actually work

Michael Niedermayer git at videolan.org
Tue Mar 26 13:10:12 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 26 13:02:37 2013 +0100| [9b9205e760d226a7dfa1c7ba8d94694f097c8510] | committer: Michael Niedermayer

x86/dsputil.asm: make unaligned bswap actually work

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/x86/dsputil.asm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/x86/dsputil.asm b/libavcodec/x86/dsputil.asm
index fdc5c6a..77069e2 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



More information about the ffmpeg-cvslog mailing list