Changeset 844 in SHVCSoftware for branches/SHM-dev/source
- Timestamp:
- 28 Jul 2014, 20:30:39 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r843 r844 2530 2530 TComVPS* vps = NULL; 2531 2531 vps = parameterSetManager->getPrefetchedVPS(sps->getVPSId()); 2532 if ( rpcSlice->getLayerId() == 0 )2532 if ( rpcSlice->getLayerId() == 0 && vps->getVpsExtensionFlag() == 1 ) 2533 2533 { 2534 2534 assert( sps->getPicWidthInLumaSamples() <= vps->getVpsRepFormat( vps->getVpsRepFormatIdx(0) )->getPicWidthVpsInLumaSamples() ); … … 2538 2538 assert( sps->getBitDepthC() <= vps->getVpsRepFormat( vps->getVpsRepFormatIdx(0) )->getBitDepthVpsChroma() ); 2539 2539 } 2540 else 2540 else if ( vps->getVpsExtensionFlag() == 1 ) 2541 2541 { 2542 2542 assert(vps->getVpsRepFormat( vps->getVpsRepFormatIdx(sps->getUpdateRepFormatFlag() ? sps->getUpdateRepFormatIndex() : rpcSlice->getLayerId()))->getPicWidthVpsInLumaSamples() <= vps->getVpsRepFormat( vps->getVpsRepFormatIdx(rpcSlice->getLayerId()))->getPicWidthVpsInLumaSamples());
Note: See TracChangeset for help on using the changeset viewer.