- Timestamp:
- 10 Feb 2017, 20:02:49 (8 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1572 r1596 1734 1734 1735 1735 #if SVC_EXTENSION 1736 assert( m_numLayers <= MAX_LAYERS ); 1737 1736 1738 #if AVC_BASE 1737 1739 if( m_nonHEVCBaseLayerFlag ) -
branches/SHM-dev/source/Lib/TAppCommon/program_options_lite.h
r1549 r1596 236 236 std::string cDescriptionBuffer; 237 237 238 cNameBuffer .resize( name.size() + 10 );239 cDescriptionBuffer.resize( desc.size() + 10 );240 241 238 for ( unsigned int uiK = 0; uiK < uiMaxNum; uiK++ ) 242 239 { 240 // it needs to be reset when extra digit is added, e.g. number 10 and above 241 cNameBuffer .resize( name.size() + 10 ); 242 cDescriptionBuffer.resize( desc.size() + 10 ); 243 243 244 // isn't there are sprintf function for string?? 244 245 sprintf((char*) cNameBuffer.c_str() ,name.c_str(),uiK,uiK); … … 264 265 std::string cDescriptionBuffer; 265 266 266 cNameBuffer .resize( name.size() + 10 );267 cDescriptionBuffer.resize( desc.size() + 10 );268 269 267 for ( unsigned int uiK = 0; uiK < uiMaxNum; uiK++ ) 270 268 { 269 // it needs to be reset when extra digit is added, e.g. number 10 and above 270 cNameBuffer .resize( name.size() + 10 ); 271 cDescriptionBuffer.resize( desc.size() + 10 ); 272 271 273 // isn't there are sprintf function for string?? 272 274 sprintf((char*) cNameBuffer.c_str() ,name.c_str(),uiK,uiK);
Note: See TracChangeset for help on using the changeset viewer.