Commit ab24061e authored by bcoudurier's avatar bcoudurier

add parenthesis, fix warning: i386/dsputil_mmx.c:2618: warning: suggest...

add parenthesis, fix warning: i386/dsputil_mmx.c:2618: warning: suggest parentheses around arithmetic in operand of |

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11673 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6e007906
...@@ -2615,8 +2615,8 @@ static void gmc_mmx(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int o ...@@ -2615,8 +2615,8 @@ static void gmc_mmx(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int o
const int dxh = dxy*(h-1); const int dxh = dxy*(h-1);
const int dyw = dyx*(w-1); const int dyw = dyx*(w-1);
if( // non-constant fullpel offset (3% of blocks) if( // non-constant fullpel offset (3% of blocks)
(ox^(ox+dxw) | ox^(ox+dxh) | ox^(ox+dxw+dxh) | ((ox^(ox+dxw)) | (ox^(ox+dxh)) | (ox^(ox+dxw+dxh)) |
oy^(oy+dyw) | oy^(oy+dyh) | oy^(oy+dyw+dyh)) >> (16+shift) (oy^(oy+dyw)) | (oy^(oy+dyh)) | (oy^(oy+dyw+dyh))) >> (16+shift)
// uses more than 16 bits of subpel mv (only at huge resolution) // uses more than 16 bits of subpel mv (only at huge resolution)
|| (dxx|dxy|dyx|dyy)&15 ) || (dxx|dxy|dyx|dyy)&15 )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment