forked from enlightenment/efl
evas/loaders: Use png function to access private pointer.
SVN revision: 82065
This commit is contained in:
parent
54bffeb2fd
commit
68d21e2e73
|
@ -38,7 +38,7 @@ struct _Evas_PNG_Info
|
||||||
static void
|
static void
|
||||||
_evas_image_png_read(png_structp png_ptr, png_bytep out, png_size_t count)
|
_evas_image_png_read(png_structp png_ptr, png_bytep out, png_size_t count)
|
||||||
{
|
{
|
||||||
Evas_PNG_Info *epi = png_ptr->io_ptr;
|
Evas_PNG_Info *epi = png_get_io_ptr(png_ptr);
|
||||||
|
|
||||||
if (!epi) return ;
|
if (!epi) return ;
|
||||||
if (epi->position == epi->length) return ;
|
if (epi->position == epi->length) return ;
|
||||||
|
|
Loading…
Reference in New Issue