mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
remove unneeded libpng version checks
This commit is contained in:
@@ -457,11 +457,7 @@ bool CLCDDisplay::load_png(const char * const filename)
|
||||
png_destroy_read_struct(&png_ptr, (png_infopp)NULL, (png_infopp)NULL);
|
||||
else
|
||||
{
|
||||
#if (PNG_LIBPNG_VER < 10500)
|
||||
if (!(setjmp(png_ptr->jmpbuf)))
|
||||
#else
|
||||
if (!setjmp(png_jmpbuf(png_ptr)))
|
||||
#endif
|
||||
{
|
||||
png_init_io(png_ptr,fh);
|
||||
|
||||
|
Reference in New Issue
Block a user