diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/imageformats/dds/qddshandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/imageformats/dds/qddshandler.cpp b/src/plugins/imageformats/dds/qddshandler.cpp index 50ac67c..6c53420 100644 --- a/src/plugins/imageformats/dds/qddshandler.cpp +++ b/src/plugins/imageformats/dds/qddshandler.cpp @@ -1569,6 +1569,8 @@ bool QDDSHandler::ensureScanned() const return false; that->m_format = getFormat(m_header); + if (that->m_format == FormatUnknown) + return false; m_scanState = ScanSuccess; return true; |