[FFmpeg-cvslog] r11673 - trunk/libavcodec/i386/dsputil_mmx.c

bcoudurier subversion
Thu Jan 31 00:54:59 CET 2008


Author: bcoudurier
Date: Thu Jan 31 00:54:59 2008
New Revision: 11673

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

Modified:
   trunk/libavcodec/i386/dsputil_mmx.c

Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c	(original)
+++ trunk/libavcodec/i386/dsputil_mmx.c	Thu Jan 31 00:54:59 2008
@@ -2615,8 +2615,8 @@ static void gmc_mmx(uint8_t *dst, uint8_
     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 )
     {




More information about the ffmpeg-cvslog mailing list