aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-06-08 17:01:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-06-08 17:01:17 +0000
commit69de449af68eaccebb68d2069573d6a9c2a8919a (patch)
tree0fd17b63783a7b8f09e6aa67fc00e803f9fd2da3 /libavcodec
parent78421be13d6cab4b09ef7207511556e2dbea359f (diff)
downloadffmpeg-69de449af68eaccebb68d2069573d6a9c2a8919a.tar.gz
gcc bug workaround by (Jonathan Gray <khalek at linuxgamers dot net>)
Originally committed as revision 3208 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/svq1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c
index a841816af2..24b852b511 100644
--- a/libavcodec/svq1.c
+++ b/libavcodec/svq1.c
@@ -914,6 +914,9 @@ static void svq1_write_header(SVQ1Context *s, int frame_type)
#define QUALITY_THRESHOLD 100
#define THRESHOLD_MULTIPLIER 0.6
+#if defined(HAVE_ALTIVEC)
+#undef vector
+#endif
static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref, uint8_t *decoded, int stride, int level, int threshold, int lambda, int intra){
int count, y, x, i, j, split, best_mean, best_score, best_count;