Browse Source

gcc bug workaround by (Jonathan Gray <khalek at linuxgamers dot net>)

Originally committed as revision 3208 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 21 years ago
parent
commit
69de449af6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/svq1.c

+ 3
- 0
libavcodec/svq1.c View File

@@ -914,6 +914,9 @@ static void svq1_write_header(SVQ1Context *s, int frame_type)
#define QUALITY_THRESHOLD 100 #define QUALITY_THRESHOLD 100
#define THRESHOLD_MULTIPLIER 0.6 #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){ 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 count, y, x, i, j, split, best_mean, best_score, best_count;


Loading…
Cancel
Save