Changeset 533 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 2 Jan 2014, 07:28:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r532 r533 1309 1309 #if AVC_BASE 1310 1310 if( pcSlice->getVPS()->getRefLayerId( m_layerId, refLayerIdc ) == 0 && m_parameterSetManagerDecoder.getActiveVPS()->getAvcBaseLayerFlag() ) 1311 { 1312 pcSlice->setBaseColPic ( refLayerIdc, *m_ppcTDecTop[0]->getListPic()->begin() ); 1311 { 1312 TComPic* pic = *m_ppcTDecTop[0]->getListPic()->begin(); 1313 1314 if( pic ) 1315 { 1316 pcSlice->setBaseColPic ( refLayerIdc, pic ); 1317 } 1318 else 1319 { 1320 continue; 1321 } 1313 1322 #if AVC_SYNTAX 1314 1323 TComPic* pBLPic = pcSlice->getBaseColPic(refLayerIdc); … … 1332 1341 #endif 1333 1342 TComList<TComPic*> *cListPic = pcTDecTop->getListPic(); 1334 pcSlice->setBaseColPic ( *cListPic, refLayerIdc ); 1343 if( !pcSlice->setBaseColPic ( *cListPic, refLayerIdc ) ) 1344 { 1345 continue; 1346 } 1335 1347 } 1336 1348 #else
Note: See TracChangeset for help on using the changeset viewer.