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

Fix ticket #441

parent 48c7de41
No related branches found
No related tags found
No related merge requests found
......@@ -285,12 +285,20 @@ CodingUnit* CodingStructure::getCU( const Position &pos, const ChannelType effCh
if( !_blk.contains( pos ) )
#endif
{
if (parent)
{
#if JVET_O0050_LOCAL_DUAL_TREE
if( treeType == TREE_C && effChType == CHANNEL_TYPE_LUMA )
CHECK( parent->treeType != TREE_D, "wrong parent treeType " );
if (treeType == TREE_C && effChType == CHANNEL_TYPE_LUMA)
{
CHECK(parent->treeType != TREE_D, "wrong parent treeType ");
}
#endif
if( parent ) return parent->getCU( pos, effChType );
else return nullptr;
return parent->getCU(pos, effChType);
}
else
{
return nullptr;
}
}
else
{
......
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