# HG changeset patch # User alex # Date 1120333198 0 # Node ID 899a2ea0907cfcf10d5e48e052268c90e098c659 # Parent 3144a4fc383b884f1e14e6f35e37ff3f71ec69d8 parenthesing to avoid compiler errors in the future - compared asm outputs, behaviour didnt changed diff -r 3144a4fc383b -r 899a2ea0907c h264.c --- a/h264.c Sat Jul 02 19:28:32 2005 +0000 +++ b/h264.c Sat Jul 02 19:39:58 2005 +0000 @@ -2964,7 +2964,7 @@ shift -= 2; for(x=0; x<64; x++) h->dequant8_coeff[q][x] = dequant8_coeff_init[idx][ - dequant8_coeff_init_scan[(x>>1)&12 | x&3] ] << shift; + dequant8_coeff_init_scan[((x>>1)&12) | (x&3)] ] << shift; } if(h->sps.transform_bypass){ for(x=0; x<16; x++) @@ -4403,7 +4403,7 @@ int i; for(i=0; i<4; i++){ if(!IS_SUB_8X8(h->sub_mb_type[i]) - || !h->sps.direct_8x8_inference_flag && IS_DIRECT(h->sub_mb_type[i])) + || (!h->sps.direct_8x8_inference_flag && IS_DIRECT(h->sub_mb_type[i]))) return 0; } return 1;