[FFmpeg-cvslog] x86/intmath.h: Fix mull operand constraints

yang git at videolan.org
Tue Jun 26 01:09:00 CEST 2012


ffmpeg | branch: master | yang <yang.y.wang at intel.com> | Tue Jun 26 00:53:47 2012 +0200| [9b72041f805ed71a88182449984e3975fc76ceca] | committer: Michael Niedermayer

x86/intmath.h: Fix mull operand constraints

Fixes Ticket1466

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

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

 libavutil/x86/intmath.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h
index dcce7e4..4525a4d 100644
--- a/libavutil/x86/intmath.h
+++ b/libavutil/x86/intmath.h
@@ -28,7 +28,7 @@
         __asm__ volatile(\
             "mull %3"\
             :"=d"(ret), "=a"(dmy)\
-            :"1"((unsigned int)(a)), "g"(ff_inverse[b])\
+            :"1"((unsigned int)(a)), "rm"(ff_inverse[b])\
             );\
         ret;\
     })



More information about the ffmpeg-cvslog mailing list