Author: tack
Date: Wed Dec 20 21:57:09 2006
New Revision: 2259

Modified:
   trunk/xine/src/drivers/video_out_kaa.c

Log:
Satisfy compiler.


Modified: trunk/xine/src/drivers/video_out_kaa.c
==============================================================================
--- trunk/xine/src/drivers/video_out_kaa.c      (original)
+++ trunk/xine/src/drivers/video_out_kaa.c      Wed Dec 20 21:57:09 2006
@@ -531,14 +531,14 @@
 
     for (y = 0; y < rh; y++) {
         n_planes = 1;
-        for (x = 0; x < rw & ~7; x += 8)
+        for (x = 0; x < (rw & ~7); x += 8)
             premultiply_alpha_byte_8(&ptr[0][x], &alpha_ptr[0][x], 
&pre_ptr[0][x], &pre_alpha_ptr[0][x], global_alpha);
 
         for (; x < rw; x++)
             premultiply_alpha_byte(ptr[0][x], alpha_ptr[0][x], &pre_ptr[0][x], 
&pre_alpha_ptr[0][x], global_alpha);
 
         if (y % 2 == 0 && this->osd_format == XINE_IMGFMT_YV12) {
-            for (x = 0; x < (rw >> 1) & ~7; x += 8) {
+            for (x = 0; x < ((rw >> 1) & ~7); x += 8) {
                 premultiply_alpha_byte_8(&ptr[1][x], &alpha_ptr[1][x], 
&pre_ptr[1][x], &pre_alpha_ptr[1][x], global_alpha);
                 premultiply_alpha_byte_8(&ptr[2][x], &alpha_ptr[2][x], 
&pre_ptr[2][x], &pre_alpha_ptr[2][x], global_alpha);
             }

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to