Changeset 743 in SHVCSoftware for branches


Ignore:
Timestamp:
25 Apr 2014, 18:23:25 (11 years ago)
Author:
seregin
Message:

fix compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r732 r743  
    12821282  // Find DPB-information from the VPS
    12831283  DpbStatus maxDpbLimit;
     1284#if RESOLUTION_BASED_DPB
    12841285  Int targetLsIdx, subDpbIdx;
    12851286  TComVPS *vps = findDpbParametersFromVps(listOfPocs, listOfPocsInEachLayer, listOfPocsPositionInEachLayer, maxDpbLimit);
     1287
    12861288  if( getCommonDecoderParams()->getTargetOutputLayerSetIdx() == 0 )
    12871289  {
     
    12921294  {
    12931295    targetLsIdx = vps->getOutputLayerSetIdx( getCommonDecoderParams()->getTargetOutputLayerSetIdx() );
    1294 #if RESOLUTION_BASED_DPB
    12951296    subDpbIdx   = vps->getSubDpbAssigned( targetLsIdx, layerIdx );
    1296 #else
    1297     subDpbIdx = layerIdx;
    1298 #endif
    1299   }
     1297  }
     1298#else
     1299  Int subDpbIdx = getCommonDecoderParams()->getTargetOutputLayerSetIdx() == 0 ? 0 : layerIdx;
     1300  TComVPS *vps = findDpbParametersFromVps(listOfPocs, listOfPocsInEachLayer, listOfPocsPositionInEachLayer, maxDpbLimit);
     1301#endif
    13001302  // Assume that listOfPocs is sorted in increasing order - if not have to sort it.
    13011303  while( ifInvokeBumpingBeforeDecoding(dpbStatus, maxDpbLimit, layerIdx, subDpbIdx) )
Note: See TracChangeset for help on using the changeset viewer.