Skip to content
Snippets Groups Projects
Commit bbe84056 authored by Seungwook Hong's avatar Seungwook Hong Committed by Vadim Seregin
Browse files

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

parent 716c001f
No related branches found
No related tags found
1 merge request!379Fix to prevent it from crashing by calling getIpmInfo() with cs NULL.
......@@ -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