projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78421be
)
gcc bug workaround by (Jonathan Gray <khalek at linuxgamers dot net>)
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 8 Jun 2004 17:01:17 +0000
(17:01 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 8 Jun 2004 17:01:17 +0000
(17:01 +0000)
Originally committed as revision 3208 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/svq1.c
patch
|
blob
|
history
diff --git
a/libavcodec/svq1.c
b/libavcodec/svq1.c
index
a841816
..
24b852b
100644
(file)
--- 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;