On Tue, Dec 05, 2006 at 05:34:41PM +0100, Andreas Henriksson wrote:
[...]
> 
> ./libs/ljpg/mcu.h:
>       typedef unsigned short ComponentType; /* the type of image components */
>       typedef ComponentType *MCU;  /* MCU - array of samples */
> 
> test.c tell me that sizeof(unsigned short) is 2, so curRowBuf is 2048.

This is also wrong... sizeof(MCU) == sizeof(unsigned short*) == 8, so
curRowBuf is 8192.

-- 
Regards,
Andreas Henriksson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to