Index: core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
index 834623dd1f6bfbf17990d1a67e521fa686f67394..80e6290a7e08e611d49450b1b34f9dc74ff280d2 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
@@ -698,7 +698,7 @@ void CPDF_DIBSource::LoadJpxBitmap() { |
new JpxBitMapContext(pJpxModule)); |
context->set_context(pJpxModule->CreateDecoder(m_pStreamAcc->GetData(), |
m_pStreamAcc->GetSize(), |
- m_pColorSpace != nullptr)); |
+ m_pColorSpace == nullptr)); |
if (!context->context()) |
return; |