diff -ur xbmc-10.1.orig/xbmc/lib/cximage-6.0/CxImage/ximapng.h xbmc-10.1/xbmc/lib/cximage-6.0/CxImage/ximapng.h --- xbmc-10.1.orig/xbmc/lib/cximage-6.0/CxImage/ximapng.h 2011-03-05 05:33:37.000000000 +0200 +++ xbmc-10.1/xbmc/lib/cximage-6.0/CxImage/ximapng.h 2011-09-15 14:48:21.000000000 +0300 @@ -69,8 +69,8 @@ static void PNGAPI user_error_fn(png_structp png_ptr,png_const_charp error_msg) { - strncpy((char*)png_ptr->error_ptr,error_msg,255); - longjmp(png_ptr->jmpbuf, 1); + strncpy((char*)png_get_error_ptr(png_ptr),error_msg,255); + longjmp(png_jmpbuf(png_ptr), 1); } };