Changeset 422 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
8 Oct 2013, 23:53:14 (11 years ago)
Author:
qualcomm
Message:

Fix for N0147.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r421 r422  
    11761176    if(  m_layerId > 0 && pcSlice->getVPS()->getCrossLayerIrapAlignFlag())
    11771177    {
    1178       for( Int i = 0; i < pcPic->getSlice(0)->getActiveNumILRRefIdx(); i++ )
    1179       {
    1180         Int refLayerIdc = pcPic->getSlice(0)->getInterLayerPredLayerIdc(i);
    1181 
    1182         if(m_cIlpPic[refLayerIdc] && pcSlice->isIRAP())
     1178      for(Int dependentLayerIdx = 0; dependentLayerIdx < pcSlice->getVPS()->getNumDirectRefLayers(m_layerId); dependentLayerIdx++)
     1179      {
     1180        TComList<TComPic*> *cListPic = getRefLayerDec( dependentLayerIdx )->getListPic();
     1181        TComPic* refpicLayer = pcSlice->getRefPic(*cListPic, pcSlice->getPOC() );
     1182        if(refpicLayer && pcSlice->isIRAP())
    11831183        {                 
    1184           assert(pcSlice->getNalUnitType() == m_cIlpPic[refLayerIdc]->getSlice(0)->getNalUnitType());
     1184          assert(pcSlice->getNalUnitType() == refpicLayer->getSlice(0)->getNalUnitType());
    11851185        }
    11861186      }
Note: See TracChangeset for help on using the changeset viewer.