Skip to content
Snippets Groups Projects
Commit b9d15d6d authored by Vadim Seregin's avatar Vadim Seregin
Browse files

Merge branch 'FIX_JVET_AC0112_IBC_CIIP' into 'master'

Fix to prevent it from crashing by calling getIpmInfo() with cs NULL.

See merge request ecm/ECM!379
parents 716c001f bbe84056
1 merge request!379Fix to prevent it from crashing by calling getIpmInfo() with cs NULL.
Pipeline #9341 passed
......@@ -16771,7 +16771,7 @@ void PU::spanIpmInfoIBC( PredictionUnit &pu, IpmBuf &ib, int bvx, int bvy )
{
cs = cs->parent;
}
const uint8_t ipm = cs->getIpmInfo(PosY);
const uint8_t ipm = cs ? cs->getIpmInfo(PosY) : 0;
for (int y = 0; y < ibH; y++)
{
for (int x = 0; x < ibW; x++)
......
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