From fa778d53ad88c8fd2327fd744abe8df057f13191 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 9 Feb 2002 00:38:44 +0000 Subject: [PATCH] workaround gcc 2.95.2 bug Originally committed as revision 289 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/msmpeg4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 85436e909c..260cd26856 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -454,8 +454,8 @@ static int msmpeg4_pred_dc(MpegEncContext * s, int n, "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