aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/svq1enc.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-11-26 20:44:37 +0000
committerMans Rullgard <mans@mansr.com>2011-11-26 22:53:47 +0000
commit0e55edcb57bc3104e704e55c8267c72426358c36 (patch)
treed36a9053d58adc02a38a364154cb73eee9c6f50b /libavcodec/svq1enc.c
parentff6d9cc558d5cc8a4647e123a714603ed5e82628 (diff)
downloadffmpeg-0e55edcb57bc3104e704e55c8267c72426358c36.tar.gz
svq1enc: remove stale altivec-related hack
altivec.h is no longer (indirectly) included, so this hack is not needed. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/svq1enc.c')
-rw-r--r--libavcodec/svq1enc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index 01d8b315b8..80bae3cc85 100644
--- a/libavcodec/svq1enc.c
+++ b/libavcodec/svq1enc.c
@@ -113,10 +113,6 @@ static void svq1_write_header(SVQ1Context *s, int frame_type)
#define QUALITY_THRESHOLD 100
#define THRESHOLD_MULTIPLIER 0.6
-#if 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;
int best_vector[6];