# HG changeset patch # User michael # Date 1115296658 0 # Node ID 240e17c3cb2dadb66901cc6fa6761dea822e17e8 # Parent c337f851d0f9a13e50e08bec3cad8b3bae8c1421 GCC4 fix by (Keenan Pepper (keenanpepper gmail com) diff -r c337f851d0f9 -r 240e17c3cb2d libpostproc/postprocess_template.c --- a/libpostproc/postprocess_template.c Tue May 03 21:49:18 2005 +0000 +++ b/libpostproc/postprocess_template.c Thu May 05 12:37:38 2005 +0000 @@ -2646,7 +2646,7 @@ * 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 @@ : "%"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 @@ " 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