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 f75453557d80a8791816182249fe8461068c2416..0362ff2e90cc48eea7fbc99f4eb80dc1b32f83e2 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
@@ -700,7 +700,7 @@ void CPDF_DIBSource::LoadJpxBitmap() { |
new JpxBitMapContext(pJpxModule)); |
context->set_decoder(pJpxModule->CreateDecoder(m_pStreamAcc->GetData(), |
m_pStreamAcc->GetSize(), |
- m_pColorSpace != nullptr)); |
+ m_pColorSpace == nullptr)); |
if (!context->decoder()) |
return; |