зеркало из https://github.com/mozilla/pjs.git
b=455169, PNG rendering problem with color management with null cms xform. r=joe,r=bholley
This commit is contained in:
Родитель
b3f661da65
Коммит
0d8cd87e72
|
@ -264,7 +264,7 @@ void NullXFORM(_LPcmsTRANSFORM p,
|
|||
// Copy in a nondestructive manner in case
|
||||
// the buffers overlap for some reason
|
||||
memmove(out, in,
|
||||
Size * T_BYTES(p -> InputFormat) * T_CHANNELS(p -> InputFormat));
|
||||
Size * T_BYTES(p -> InputFormat) * (T_CHANNELS(p -> InputFormat) + T_EXTRA(p -> InputFormat)));
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче