> In ut_png.cpp we tell libpng to call _png_read(), one of our functions, to
> get input.  However, _png_read() contains the following lines 
> 
>       struct _bb* p = (struct _bb*) png_ptr->io_ptr;
>       const UT_Byte* pBytes = p->pBB->getPointer(0);

We should not be accessing png_ptr->io_ptr directly. The header changed
between versions.

Instead, we should do:

struct _bb* p = (struct _bb*) png_get_io_ptr(png_ptr);


But, Sam, great job tracking down the problem. With your info, I just had
to dig through the sources and compare stuff.

Justin




Reply via email to