Commit 5ce27e8c authored by Guillaume Poirier's avatar Guillaume Poirier

minor GCC3 compile fix

(there's still 2 more, but there's burried into several levels of macros, so it's hard to narrow them down)

Originally committed as revision 9265 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f057cc03
...@@ -717,7 +717,7 @@ static inline vector unsigned char diff_lt_altivec ( register vector unsigned ch ...@@ -717,7 +717,7 @@ static inline vector unsigned char diff_lt_altivec ( register vector unsigned ch
register vector unsigned char diff = vec_subs(x, y); register vector unsigned char diff = vec_subs(x, y);
register vector unsigned char diffneg = vec_subs(y, x); register vector unsigned char diffneg = vec_subs(y, x);
register vector unsigned char o = vec_or(diff, diffneg); /* |x-y| */ register vector unsigned char o = vec_or(diff, diffneg); /* |x-y| */
o = vec_cmplt(o, a); o = (vector unsigned char)vec_cmplt(o, a);
return o; return o;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment