Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
for (y = 0; y < h; y++) {
for (x = 0; x < w; x++) {
- dst[x] = ((((msrc[x] - 128) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> 8) + 128;;
+ dst[x] = ((((msrc[x] - 128) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> 8) + 128;
}
dst += dlinesize;
for (y = 0; y < h; y++) {
for (x = 0; x < w; x++) {
- dst[x] = ((((msrc[x] - half) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> shift) + half;;
+ dst[x] = ((((msrc[x] - half) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> shift) + half;
}
dst += dlinesize / 2;