Changeset 615 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
13 Feb 2014, 19:15:38 (11 years ago)
Author:
sharp
Message:

Fix for ticket #15 and for loop index

File:
1 edited

Legend:

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

    r614 r615  
    672672#if SPS_DPB_PARAMS
    673673    }
    674     else
    675     {
    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     }
    681674#endif
    682675  READ_UVLC( uiCode, "log2_min_coding_block_size_minus3" );
     
    11071100    if (vps->getMaxTSLayersPresentFlag())
    11081101    {
    1109         for(i = 0; i < vps->getMaxLayers() - 1; i++)
     1102        for(i = 0; i < vps->getMaxLayers(); i++)
    11101103        {
    11111104            READ_CODE( 3, uiCode, "sub_layers_vps_max_minus1[i]" ); vps->setMaxTSLayersMinus1(i, uiCode);
     
    11141107    else
    11151108    {
    1116         for( i = 0; i < vps->getMaxLayers() - 1; i++)
     1109        for( i = 0; i < vps->getMaxLayers(); i++)
    11171110        {
    11181111            vps->setMaxTSLayersMinus1(i, vps->getMaxTLayers()-1);
Note: See TracChangeset for help on using the changeset viewer.