Ignore:
Timestamp:
6 Jan 2015, 04:21:12 (10 years ago)
Author:
seregin
Message:

port the fix for ticket #38

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/App/TAppDecoder/TAppDecTop.h

    r928 r961  
    143143#endif
    144144  Int m_numPicsInSubDpb[MAX_LAYERS];  // Pictures marked as used_for_reference or needed for output in the sub-DPB
     145#if FIX_ALIGN_BUMPING
     146  Int m_layerIdToSubDpbIdMap[MAX_VPS_LAYER_ID_PLUS1];
     147  Int m_targetDecLayerIdList[MAX_LAYERS];
     148#endif
    145149  Bool m_maxLatencyIncrease;
    146150  Int m_maxLatencyPictures;
     
    165169    m_numSubDpbs = -1;
    166170    m_numLayers = -1;
     171#if FIX_ALIGN_BUMPING
     172    ::memset( m_targetDecLayerIdList, 0, sizeof(m_targetDecLayerIdList) );
     173    for(Int i = 0; i < MAX_LAYERS; i++)
     174    {
     175      m_layerIdToSubDpbIdMap[i] = -1;
     176    }
     177#endif
    167178  }
    168179};
Note: See TracChangeset for help on using the changeset viewer.