Fix Error: Couldn't import RGB Image: 00003002 and 00003004 (#761)
This commit is contained in:
@@ -610,9 +610,12 @@ public:
|
|||||||
|
|
||||||
for(int y = 0; y < 4; ++y) {
|
for(int y = 0; y < 4; ++y) {
|
||||||
if(!fb->handles[y]) {
|
if(!fb->handles[y]) {
|
||||||
// It's not clear wheter there could still be valid handles left.
|
// setting sd->fds[y] to a negative value indicates that sd->offsets[y] and sd->pitches[y]
|
||||||
|
// are uninitialized and contain invalid values.
|
||||||
|
sd->fds[y] = -1;
|
||||||
|
// It's not clear whether there could still be valid handles left.
|
||||||
// So, continue anyway.
|
// So, continue anyway.
|
||||||
// TODO: Is this redundent?
|
// TODO: Is this redundant?
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user