File imgSeek-uninitialized.patch of Package imgSeek

--- imgSeekLib/jpegloader.cpp
+++ imgSeekLib/jpegloader.cpp
@@ -87,6 +87,9 @@
     struct myjpeg_error_mgr jerr;
    
     FILE* inputFile=fopen(QFile::encodeName(QString(path)), "rb");
+
+    jpeg_create_decompress(&cinfo);
+    
     if(!inputFile)
         return cinfo;
 
@@ -100,7 +103,6 @@
         return cinfo;
     }
 		
-    jpeg_create_decompress(&cinfo);
     jpeg_stdio_src(&cinfo, inputFile);
     jpeg_read_header(&cinfo, TRUE);