Changeset 1450 in SHVCSoftware for branches/SHM-dev/source/App


Ignore:
Timestamp:
14 Aug 2015, 01:34:26 (9 years ago)
Author:
seregin
Message:

fix compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1449 r1450  
    7878#if SVC_EXTENSION
    7979  TComVPS& vps = *m_apcTEncTop[0]->getVPS();
    80   Int& m_maxTempLayer = m_apcLayerCfg[0]->m_maxTempLayer;
     80
     81  vps.setMaxTLayers                                               ( m_apcLayerCfg[0]->m_maxTempLayer );
     82  if (m_apcLayerCfg[0]->m_maxTempLayer == 1)
    8183#else
    8284  TComVPS vps;
    83 #endif
    8485
    8586  vps.setMaxTLayers                                               ( m_maxTempLayer );
    8687  if (m_maxTempLayer == 1)
     88#endif
    8789  {
    8890    vps.setTemporalNestingFlag(true);
Note: See TracChangeset for help on using the changeset viewer.