blob: 458f51bfc668549f3ec52c9935b6a3eff9a78a81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-da,v 1.1.2.2 2005/04/16 19:47:33 salo Exp $
--- kimgio/exr.cpp.orig 2004-06-22 19:36:40.000000000 +0200
+++ kimgio/exr.cpp 2005-04-13 23:24:22.000000000 +0200
@@ -136,6 +136,8 @@
file.readPixels (dw.min.y, dw.max.y);
QImage image(width, height, 32, 0, QImage::BigEndian);
+ if( image.isNull())
+ return;
// somehow copy pixels into image
for ( int y=0; y < height; y++ ) {
|