Merge remote-tracking branch 'origin/bug_453_multiepg_no_more_ask_bouquet' into exper...
[vuplus_dvbapp] / lib / gdi / picload.cpp
index 7fabef5..0ce10c0 100644 (file)
@@ -1,4 +1,5 @@
-#include <png.h>       // must be included before Python.h because of setjmp
+#define PNG_SKIP_SETJMP_CHECK
+#include <png.h>
 #include <fcntl.h>
 
 #include <lib/gdi/picload.h>
@@ -671,7 +672,6 @@ void ePicLoad::decodeThumb()
                                m_filepara->id = F_JPEG;
                                eDebug("[Picload] Cache File found");
                        }
-                       fclose(f);
                }
        }