Skip to content
Snippets Groups Projects
Commit 76f40cb0 authored by Peter Chuang's avatar Peter Chuang
Browse files

bugfix: get the correct reference layer information

parent 43f5de4d
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ void EncLib::create( const int layerId )
{
int refLayerChromaFormatIdcInVPS = vps->getLayerChromaFormatIDC(i);
CHECK(curLayerChromaFormatIdcInVPS != refLayerChromaFormatIdcInVPS, "The chroma formats of the current layer and the reference layer are different");
int refLayerBitDepthInVPS = vps->getLayerBitDepth(layerId);
int refLayerBitDepthInVPS = vps->getLayerBitDepth(i);
CHECK(curLayerBitDepthInVPS != refLayerBitDepthInVPS, "The bit-depth of the current layer and the reference layer are different");
}
}
......
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