diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-05 12:37:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-05 12:37:38 +0000 |
commit | 5fddb9b3821bd65f343213695a6cde1223f0e13e (patch) | |
tree | ba406cb962270e73a8ff2f3da81c33070b37a8aa /libavcodec | |
parent | ce869f59ee153499308159fcc9e0f47019f90e3e (diff) | |
download | ffmpeg-5fddb9b3821bd65f343213695a6cde1223f0e13e.tar.gz |
GCC4 fix by (Keenan Pepper (keenanpepper gmail com)
Originally committed as revision 4177 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libpostproc/postprocess_template.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/libpostproc/postprocess_template.c b/libavcodec/libpostproc/postprocess_template.c index d1307cacab..0c99260a77 100644 --- a/libavcodec/libpostproc/postprocess_template.c +++ b/libavcodec/libpostproc/postprocess_template.c @@ -2646,7 +2646,7 @@ Switch between * accurate deblock filter */ static always_inline void RENAME(do_a_deblock)(uint8_t *src, int step, int stride, PPContext *c){ - int64_t dc_mask, eq_mask; + int64_t dc_mask, eq_mask, both_masks; int64_t sums[10*8*2]; src+= step*3; // src points to begin of the 8x8 Block //START_TIMER @@ -2755,7 +2755,9 @@ asm volatile( : "%"REG_a ); - if(dc_mask & eq_mask){ + both_masks = dc_mask & eq_mask; + + if(both_masks){ long offset= -8*step; int64_t *temp_sums= sums; @@ -2930,7 +2932,7 @@ asm volatile( " js 1b \n\t" : "+r"(offset), "+r"(temp_sums) - : "r" ((long)step), "r"(src - offset), "m"(dc_mask & eq_mask) + : "r" ((long)step), "r"(src - offset), "m"(both_masks) ); }else src+= step; // src points to begin of the 8x8 Block |