# HG changeset patch # User michael # Date 1229482383 0 # Node ID 7c36f4ce172c1f379dfe7970b0218c68cb314195 # Parent 156137b6002690ff95ff5fc0fc0dd22fba38a230 Replace != 0 || check by | 3 cpu cycles faster diff -r 156137b60026 -r 7c36f4ce172c h264.c --- a/h264.c Wed Dec 17 02:35:14 2008 +0000 +++ b/h264.c Wed Dec 17 02:53:03 2008 +0000 @@ -6383,8 +6383,8 @@ int b_idx= 8 + 4 + x + 8*y; int bn_idx= b_idx - (dir ? 8:1); - if( h->non_zero_count_cache[b_idx] != 0 || - h->non_zero_count_cache[bn_idx] != 0 ) { + if( h->non_zero_count_cache[b_idx] | + h->non_zero_count_cache[bn_idx] ) { bS[i] = 2; } else if(!mv_done)