Changeset 1040 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
2 Mar 2015, 19:27:27 (10 years ago)
Author:
interdigital
Message:

fixed couple if statements using fixed layerId value "m_layerId == 1" as test condition

File:
1 edited

Legend:

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

    r1035 r1040  
    672672  {
    673673    TComPic* pBLPic = (*m_ppcTDecTop[0]->getListPic()->begin());
    674     if( m_layerId == 1 && pBLPic->getPicYuvRec() == NULL )
     674    if( m_layerId > 0 && pBLPic->getPicYuvRec() == NULL )
    675675    {
    676676      UInt refLayerId = 0;
     
    15991599#if AVC_BASE
    16001600#if VPS_AVC_BL_FLAG_REMOVAL
    1601     if( m_layerId == 1 && m_parameterSetManagerDecoder.getPrefetchedVPS(0)->getNonHEVCBaseLayerFlag() )
    1602 #else
    1603     if( m_layerId == 1 && m_parameterSetManagerDecoder.getPrefetchedVPS(0)->getAvcBaseLayerFlag() )
     1601    if( m_layerId > 0 && m_parameterSetManagerDecoder.getPrefetchedVPS(0)->getNonHEVCBaseLayerFlag() )
     1602#else
     1603    if( m_layerId > 0 && m_parameterSetManagerDecoder.getPrefetchedVPS(0)->getAvcBaseLayerFlag() )
    16041604#endif
    16051605    {
Note: See TracChangeset for help on using the changeset viewer.