Ignore:
Timestamp:
2 May 2013, 21:28:51 (12 years ago)
Author:
seregin
Message:

check for MAX_LAYERS

File:
1 edited

Legend:

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

    r134 r145  
    12781278
    12791279#if SVC_EXTENSION
     1280  xConfirmPara( m_numLayers > MAX_LAYERS , "Number of the layers are greater than MAX_LAYERS" );
     1281  m_numLayers = m_numLayers > MAX_LAYERS ? MAX_LAYERS : m_numLayers;
     1282
    12801283  // verify layer configuration parameters
    12811284  for(UInt layer=0; layer<m_numLayers; layer++)
Note: See TracChangeset for help on using the changeset viewer.