Changeset 1423 in SHVCSoftware


Ignore:
Timestamp:
5 Aug 2015, 03:46:43 (9 years ago)
Author:
seregin
Message:

add assert to avoid compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1420 r1423  
    13081308  }
    13091309
    1310   for(UInt layerCtr = 1;layerCtr <= vps->getMaxLayers() - 1; layerCtr++)
     1310  for(UInt layerCtr = 1;layerCtr < vps->getMaxLayers(); layerCtr++)
    13111311  {
    13121312    for(Int refLayerCtr = 0; refLayerCtr < layerCtr; refLayerCtr++)
     
    13141314      if (vps->getDirectDependencyFlag( layerCtr, refLayerCtr))
    13151315      {
     1316        assert( layerCtr < MAX_LAYERS );
     1317
    13161318        if(m_apcTEncTop[layerCtr]->getIntraPeriod() !=  m_apcTEncTop[refLayerCtr]->getIntraPeriod())
    13171319        {
Note: See TracChangeset for help on using the changeset viewer.