Changeset 98 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder


Ignore:
Timestamp:
25 Mar 2013, 18:24:45 (12 years ago)
Author:
interdigital
Message:

Add layer condition when setBaseColPic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncGOP.cpp

    r95 r98  
    413413    pcSlice->setNalUnitType(getNalUnitType(pocCurr));
    414414#if IDR_ALIGNMENT
    415     TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId-1]->getListPic();
    416     pcSlice->setBaseColPic (*cListPic, m_layerId );
     415    if (m_layerId > 0)
     416    {
     417      TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId-1]->getListPic();
     418      pcSlice->setBaseColPic (*cListPic, m_layerId );
     419    }
    417420#endif
    418421#if REF_IDX_FRAMEWORK
Note: See TracChangeset for help on using the changeset viewer.