Fix Error: Couldn't import RGB Image: 00003002 and 00003004 (#761)

This commit is contained in:
manteuffel723 2023-01-26 17:23:44 +01:00 committed by GitHub
parent d33e3a2882
commit 0698210ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -610,9 +610,12 @@ public:
for(int y = 0; y < 4; ++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.
// TODO: Is this redundent?
// TODO: Is this redundant?
continue;
}