Changeset 241 in SHVCSoftware for branches/SHM-2.1-dev/source
- Timestamp:
- 24 May 2013, 22:56:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r216 r241 522 522 523 523 #if ILR_RESTR 524 Int maxSubLayerForILPPlus1 = (getLayerId() > 0 )? getVPS()->getMaxSublayerForIlpPlus1(ilpPic[0]->getSlice(0)->getLayerId()) : 0;524 Int maxSubLayerForILPPlus1 = (getLayerId() > 0 && m_activeNumILRRefIdx > 0)? getVPS()->getMaxSublayerForIlpPlus1(ilpPic[0]->getSlice(0)->getLayerId()) : 0; 525 525 #if ZERO_NUM_DIRECT_LAYERS 526 526 if( getLayerId() > 0 && m_activeNumILRRefIdx > 0 && ( ( (Int)(ilpPic[0]->getSlice(0)->getTLayer())<= maxSubLayerForILPPlus1-1) || (maxSubLayerForILPPlus1==0 && ilpPic[0]->getSlice(0)->getRapPicFlag()) ) )
Note: See TracChangeset for help on using the changeset viewer.