Skip to content
Snippets Groups Projects
Commit 1a384aee authored by Xiang Li's avatar Xiang Li
Browse files

Fix decoding crash when PLT is enabled

parent 2b214509
No related branches found
No related tags found
1 merge request!2692CU/PU memory optimization
Pipeline #11286 passed
......@@ -344,7 +344,7 @@ void CodingUnit::initData()
ispMode = ISPType::NONE;
mipFlag = false;
if (slice && slice->getSPS() && slice->getSPS()->getPLTMode())
if (cs && cs->sps->getPLTMode())
{
for (int idx = 0; idx < MAX_NUM_CHANNEL_TYPE; idx++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment