Mercurial > libavcodec.hg
changeset 6196:166bef5cad01 libavcodec
add parenthesis, fix warning: i386/dsputil_mmx.c:2618: warning: suggest parentheses around arithmetic in operand of |
author | bcoudurier |
---|---|
date | Wed, 30 Jan 2008 23:54:59 +0000 |
parents | 5f704e9cb518 |
children | 2ca0a91b0b24 |
files | i386/dsputil_mmx.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/dsputil_mmx.c Wed Jan 30 23:52:42 2008 +0000 +++ b/i386/dsputil_mmx.c Wed Jan 30 23:54:59 2008 +0000 @@ -2615,8 +2615,8 @@ const int dxh = dxy*(h-1); const int dyw = dyx*(w-1); if( // non-constant fullpel offset (3% of blocks) - (ox^(ox+dxw) | ox^(ox+dxh) | ox^(ox+dxw+dxh) | - oy^(oy+dyw) | oy^(oy+dyh) | oy^(oy+dyw+dyh)) >> (16+shift) + ((ox^(ox+dxw)) | (ox^(ox+dxh)) | (ox^(ox+dxw+dxh)) | + (oy^(oy+dyw)) | (oy^(oy+dyh)) | (oy^(oy+dyw+dyh))) >> (16+shift) // uses more than 16 bits of subpel mv (only at huge resolution) || (dxx|dxy|dyx|dyy)&15 ) {