Changeset 70 in SHVCSoftware


Ignore:
Timestamp:
7 Mar 2013, 23:25:14 (12 years ago)
Author:
seregin
Message:

reintegrate SHM-1.1-dev branch

Location:
trunk/source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source

  • trunk/source/Lib/TLibCommon/TComPic.cpp

    r55 r70  
    4848TComPic::TComPic()
    4949: m_uiTLayer                              (0)
     50#if SVC_EXTENSION
     51, m_layerId( 0 )
     52#endif
    5053, m_bUsedByCurr                           (false)
    5154, m_bIsLongTerm                           (false)
     
    6669, m_SEIs                                  (NULL)
    6770#if SVC_EXTENSION
    68 , m_layerId( 0 )
    6971, m_bSpatialEnhLayer( false )
    7072, m_pcFullPelBaseRec( NULL )
     
    98100  }
    99101
    100   m_layerId = pcSps->getLayerId();
     102  m_layerId = pcSps ? pcSps->getLayerId() : 0;
    101103
    102104  /* there are no SEI messages associated with this picture initially */
  • trunk/source/Lib/TLibCommon/TComSlice.cpp

    r55 r70  
    22202220    RefPicList eRefPicList = RefPicList( iRefPicList );
    22212221
    2222     assert( pcSlice->getNumRefIdx( eRefPicList) > 0 );
     2222    assert( pcSlice->getNumRefIdx( eRefPicList) >= 0 );
    22232223    setNumRefIdx( eRefPicList, pcSlice->getNumRefIdx( eRefPicList ) - 1 );
    22242224    assert( getNumRefIdx( eRefPicList) <= MAX_NUM_REF);
Note: See TracChangeset for help on using the changeset viewer.