workaround gcc 2.95.2 bug

Originally committed as revision 289 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 23 years ago
parent b0db419867
commit fa778d53ad
  1. 4
      libavcodec/msmpeg4.c

@ -454,8 +454,8 @@ static int msmpeg4_pred_dc(MpegEncContext * s, int n,
"movl %2, %%eax \n\t" "movl %2, %%eax \n\t"
"mull %4 \n\t" "mull %4 \n\t"
"movl %%edx, %2 \n\t" "movl %%edx, %2 \n\t"
: "+r" (a), "+r" (b), "+r" (c) : "+b" (a), "+c" (b), "+D" (c)
: "g" (scale), "r" (inverse[scale]) : "g" (scale), "S" (inverse[scale])
: "%eax", "%edx" : "%eax", "%edx"
); );
#else #else

Loading…
Cancel
Save