[MPlayer-cvslog] r33213 - trunk/gui/util/bitmap.c
ib
subversion at mplayerhq.hu
Mon Apr 4 20:25:11 CEST 2011
Author: ib
Date: Mon Apr 4 20:25:11 2011
New Revision: 33213
Log:
Cosmetic: Adjust indent.
Modified:
trunk/gui/util/bitmap.c
Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c Mon Apr 4 20:23:19 2011 (r33212)
+++ trunk/gui/util/bitmap.c Mon Apr 4 20:25:11 2011 (r33213)
@@ -235,31 +235,31 @@ int Convert32to1(txSample *in, txSample
return 0;
}
- buf = (uint32_t *)in->Image;
+ buf = (uint32_t *)in->Image;
- for (i = 0; i < out->Width * out->Height; i++) {
- tmp >>= 1;
+ for (i = 0; i < out->Width * out->Height; i++) {
+ tmp >>= 1;
- if (buf[i] != transparent)
- tmp |= 0x80;
- else {
- buf[i] = 0;
- shaped = 1;
- }
+ if (buf[i] != transparent)
+ tmp |= 0x80;
+ else {
+ buf[i] = 0;
+ shaped = 1;
+ }
- if (++b == 8) {
- out->Image[c++] = tmp;
- tmp = b = 0;
- }
+ if (++b == 8) {
+ out->Image[c++] = tmp;
+ tmp = b = 0;
}
+ }
- mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[bitmap] 1 bpp conversion size: %lu\n", out->ImageSize);
+ mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[bitmap] 1 bpp conversion size: %lu\n", out->ImageSize);
- if (b)
- out->Image[c] = tmp;
+ if (b)
+ out->Image[c] = tmp;
- if (!shaped)
- bpFree(out);
+ if (!shaped)
+ bpFree(out);
return 1;
}
More information about the MPlayer-cvslog
mailing list