changeset 228:3c2bad70a196 libavcodec

workaround gcc 2.95.2 bug
author michaelni
date Sat, 09 Feb 2002 00:38:44 +0000
parents ec1bc02a0a47
children f418b5c5ff67
files msmpeg4.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/msmpeg4.c	Thu Feb 07 23:48:24 2002 +0000
+++ b/msmpeg4.c	Sat Feb 09 00:38:44 2002 +0000
@@ -454,8 +454,8 @@
 	"movl %2, %%eax		\n\t"
 	"mull %4		\n\t"
 	"movl %%edx, %2		\n\t"
-	: "+r" (a), "+r" (b), "+r" (c)
-	: "g" (scale), "r" (inverse[scale])
+	: "+b" (a), "+c" (b), "+D" (c)
+	: "g" (scale), "S" (inverse[scale])
 	: "%eax", "%edx"
     );
 #else