Changeset 1014 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder


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

port the fix for the ticket #60 (rev 1013)

File:
1 edited

Legend:

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

    r1012 r1014  
    29642964#endif
    29652965  }
     2966  else
     2967  {
     2968    vps->setNumAddLayerSets(0);
     2969  }
    29662970#endif
    29672971#endif
     
    32373241        {
    32383242#endif
    3239         if (j > 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j) != 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j - 1) != 0)
     3243        if( j > 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j) != 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j - 1) != 0 && vps->getNecessaryLayerFlag(i, j-1) )
    32403244        {
    32413245          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.