[MPlayer-cvslog] r33207 - trunk/gui/util/bitmap.c
ib
subversion at mplayerhq.hu
Mon Apr 4 16:14:11 CEST 2011
Author: ib
Date: Mon Apr 4 16:14:10 2011
New Revision: 33207
Log:
Increment the counter before the comparison.
This expresses the 8 bit nature of the image data more intensely.
Modified:
trunk/gui/util/bitmap.c
Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c Mon Apr 4 16:06:08 2011 (r33206)
+++ trunk/gui/util/bitmap.c Mon Apr 4 16:14:10 2011 (r33207)
@@ -246,7 +246,7 @@ int Convert32to1(txSample *in, txSample
shaped = 1;
}
- if (b++ == 7) {
+ if (++b == 8) {
out->Image[c++] = tmp;
tmp = b = 0;
}
More information about the MPlayer-cvslog
mailing list