removed an unnecessary shift and splut up som weird two-statements-per-line
code
This commit is contained in:
Родитель
87e7f4f688
Коммит
4d12be9867
|
@ -65,9 +65,11 @@ static void decodeQuantum(unsigned char *dest, const char *src)
|
|||
x = (x << 6);
|
||||
}
|
||||
|
||||
dest[2] = (unsigned char)(x & 255); x >>= 8;
|
||||
dest[1] = (unsigned char)(x & 255); x >>= 8;
|
||||
dest[0] = (unsigned char)(x & 255); x >>= 8;
|
||||
dest[2] = (unsigned char)(x & 255);
|
||||
x >>= 8;
|
||||
dest[1] = (unsigned char)(x & 255);
|
||||
x >>= 8;
|
||||
dest[0] = (unsigned char)(x & 255);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче