Changeset 932 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder


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

fix compiler warning and index bound

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

Legend:

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

    r924 r932  
    185185  for(UInt layer=0; layer<= m_tgtLayerId; layer++)
    186186  {
     187    assert( layer < MAX_LAYERS );
    187188    m_pchReconFile[layer] = cfg_ReconFile[layer].empty() ? NULL : strdup(cfg_ReconFile[layer].c_str());
    188189  }
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r930 r932  
    579579  }
    580580#if CONFORMANCE_BITSTREAM_MODE
    581   for(UInt layer = 0; layer <= MAX_LAYERS; layer++)
    582   {
    583     m_acTDecTop[layer].setConfModeFlag ( this->getConfModeFlag() );
     581  for(UInt layer = 0; layer < MAX_LAYERS; layer++)
     582  {
     583    m_acTDecTop[layer].setConfModeFlag( m_confModeFlag );
    584584  }
    585585#endif
Note: See TracChangeset for help on using the changeset viewer.