diff options
author | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-06-09 22:20:24 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-06-09 22:20:24 +0000 |
commit | 5ce27e8c92abed2f247c52f76f0b698fa2b74192 (patch) | |
tree | 82266fea05b5020401af70c979d3599dd93df901 /libavcodec/ppc | |
parent | f057cc03995b6fc216ed85a106a320a867172155 (diff) | |
download | ffmpeg-streaming-5ce27e8c92abed2f247c52f76f0b698fa2b74192.zip ffmpeg-streaming-5ce27e8c92abed2f247c52f76f0b698fa2b74192.tar.gz |
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
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/h264_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c index 8910ac9..b378a45 100644 --- a/libavcodec/ppc/h264_altivec.c +++ b/libavcodec/ppc/h264_altivec.c @@ -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 diffneg = vec_subs(y, x); 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; } |