Mercurial > libavcodec.hg
changeset 2069:a8100a516b0a libavcodec
gcc bug workaround by (Jonathan Gray <khalek at linuxgamers dot net>)
author | michael |
---|---|
date | Tue, 08 Jun 2004 17:01:17 +0000 |
parents | 4a0ec9031804 |
children | 5914c2b0760f |
files | svq1.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/svq1.c Tue Jun 08 02:41:41 2004 +0000 +++ b/svq1.c Tue Jun 08 17:01:17 2004 +0000 @@ -914,6 +914,9 @@ #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;