Parent Directory | Revision Log | Patch
revision 1033 by astrand, Tue Dec 27 08:58:57 2005 UTC | revision 1040 by astrand, Tue Jan 24 12:24:40 2006 UTC | |
---|---|---|
# | Line 802 translate24to32(const uint8 * data, uint | Line 802 translate24to32(const uint8 * data, uint |
802 | #else | #else |
803 | REPEAT4 | REPEAT4 |
804 | ( | ( |
805 | *((uint32 *) out) = *((uint32 *) data); | /* Only read 3 bytes. Reading 4 bytes means reading beyound buffer. */ |
806 | out += 4; | *((uint32 *) out) = *((uint16 *) data) + (*((uint8 *) data + 2) << 16); |
807 | data += 3; | out += 4; |
808 | data += 3; | |
809 | ) | ) |
810 | #endif | #endif |
811 | /* *INDENT-ON* */ | /* *INDENT-ON* */ |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |