Changeset 615 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 13 Feb 2014, 19:15:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r614 r615 672 672 #if SPS_DPB_PARAMS 673 673 } 674 else675 {676 for(UInt i=0; i <= pcSPS->getMaxTLayers()-1; i++)677 {678 pcSPS->setMaxDecPicBuffering( parameterSetManager->getPrefetchedVPS(pcSPS->getVPSId())->getMaxVpsDecPicBufferingMinus1( parameterSetManager->getPrefetchedVPS(pcSPS->getVPSId())->getTolsIdx(), pcSPS->getLayerId(), i)+1, i);679 }680 }681 674 #endif 682 675 READ_UVLC( uiCode, "log2_min_coding_block_size_minus3" ); … … 1107 1100 if (vps->getMaxTSLayersPresentFlag()) 1108 1101 { 1109 for(i = 0; i < vps->getMaxLayers() - 1; i++)1102 for(i = 0; i < vps->getMaxLayers(); i++) 1110 1103 { 1111 1104 READ_CODE( 3, uiCode, "sub_layers_vps_max_minus1[i]" ); vps->setMaxTSLayersMinus1(i, uiCode); … … 1114 1107 else 1115 1108 { 1116 for( i = 0; i < vps->getMaxLayers() - 1; i++)1109 for( i = 0; i < vps->getMaxLayers(); i++) 1117 1110 { 1118 1111 vps->setMaxTSLayersMinus1(i, vps->getMaxTLayers()-1);
Note: See TracChangeset for help on using the changeset viewer.