From: Michael Niedermayer Date: Sat, 9 Feb 2002 00:38:44 +0000 (+0000) Subject: workaround gcc 2.95.2 bug X-Git-Tag: v0.5~18033 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fa778d53ad88c8fd2327fd744abe8df057f13191;p=coroid%2Flibav_saccubus.git workaround gcc 2.95.2 bug Originally committed as revision 289 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 85436e909..260cd2685 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