Changeset 933 in SHVCSoftware


Ignore:
Timestamp:
18 Dec 2014, 20:14:08 (10 years ago)
Author:
seregin
Message:

fix compiler warning and index bound

Location:
branches/SHM-upgrade/source/App/TAppDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/App/TAppDecoder/TAppDecCfg.cpp

    r928 r933  
    201201  for(UInt layer=0; layer<= m_tgtLayerId; layer++)
    202202  {
     203    assert( layer < MAX_LAYERS );
    203204    m_pchReconFile[layer] = cfg_ReconFile[layer].empty() ? NULL : strdup(cfg_ReconFile[layer].c_str());
    204205  }
  • branches/SHM-upgrade/source/App/TAppDecoder/TAppDecTop.cpp

    r931 r933  
    638638  }
    639639#if CONFORMANCE_BITSTREAM_MODE
    640   for(UInt layer = 0; layer <= MAX_LAYERS; layer++)
    641   {
    642     m_acTDecTop[layer].setConfModeFlag ( m_confModeFlag );
     640  for(UInt layer = 0; layer < MAX_LAYERS; layer++)
     641  {
     642    m_acTDecTop[layer].setConfModeFlag( m_confModeFlag );
    643643  }
    644644#endif
Note: See TracChangeset for help on using the changeset viewer.