[MPlayer-cvslog] r33214 - trunk/gui/util/bitmap.c

ib subversion at mplayerhq.hu
Mon Apr 4 20:35:25 CEST 2011


Author: ib
Date: Mon Apr  4 20:35:25 2011
New Revision: 33214

Log:
Don't change original image during conversion.

Modified:
   trunk/gui/util/bitmap.c

Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c	Mon Apr  4 20:25:11 2011	(r33213)
+++ trunk/gui/util/bitmap.c	Mon Apr  4 20:35:25 2011	(r33214)
@@ -242,10 +242,8 @@ int Convert32to1(txSample *in, txSample 
 
         if (buf[i] != transparent)
             tmp |= 0x80;
-        else {
-            buf[i] = 0;
+        else
             shaped = 1;
-        }
 
         if (++b == 8) {
             out->Image[c++] = tmp;


More information about the MPlayer-cvslog mailing list