Changeset 1013 in SHVCSoftware


Ignore:
Timestamp:
4 Feb 2015, 00:53:12 (10 years ago)
Author:
seregin
Message:

fix for the ticket #60, patch was provided by Yong He <Yong.He@…>

File:
1 edited

Legend:

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

    r1011 r1013  
    15451545#endif
    15461546  }
     1547  else
     1548  {
     1549    vps->setNumAddLayerSets(0);
     1550  }
    15471551#endif
    15481552#endif
     
    18181822        {
    18191823#endif
    1820         if (j > 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j) != 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j - 1) != 0)
     1824        if( j > 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j) != 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j - 1) != 0 && vps->getNecessaryLayerFlag(i, j-1) )
    18211825        {
    18221826          assert(vps->getPTL(vps->getProfileLevelTierIdx(i, j))->getGeneralPTL()->getProfileIdc() == vps->getPTL(vps->getProfileLevelTierIdx(i, j - 1))->getGeneralPTL()->getProfileIdc() ||
Note: See TracChangeset for help on using the changeset viewer.