Changeset 1414 in SHVCSoftware
- Timestamp:
- 4 Aug 2015, 04:57:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1367 r1414 389 389 #endif 390 390 { 391 if ( !checkNumPocTotalCurr)392 { 393 if (m_eSliceType == I_SLICE)394 {395 ::memset( m_apcRefPicList, 0, sizeof (m_apcRefPicList)); 396 ::memset( m_aiNumRefIdx, 0, sizeof ( m_aiNumRefIdx ));397 391 if ( m_eSliceType == I_SLICE) 392 { 393 ::memset( m_apcRefPicList, 0, sizeof (m_apcRefPicList)); 394 ::memset( m_aiNumRefIdx, 0, sizeof ( m_aiNumRefIdx )); 395 396 if (!checkNumPocTotalCurr) 397 { 398 398 return; 399 399 } 400 401 m_aiNumRefIdx[REF_PIC_LIST_0] = getNumRefIdx(REF_PIC_LIST_0);402 m_aiNumRefIdx[REF_PIC_LIST_1] = getNumRefIdx(REF_PIC_LIST_1);403 400 } 404 401 … … 572 569 if (m_eSliceType == I_SLICE) 573 570 { 574 ::memset( m_apcRefPicList, 0, sizeof (m_apcRefPicList));575 ::memset( m_aiNumRefIdx, 0, sizeof ( m_aiNumRefIdx ));576 577 571 return; 578 572 } … … 581 575 // general tier and level limit: 582 576 assert(numPicTotalCurr <= 8); 583 584 m_aiNumRefIdx[0] = getNumRefIdx(REF_PIC_LIST_0);585 m_aiNumRefIdx[1] = getNumRefIdx(REF_PIC_LIST_1);586 577 } 587 578
Note: See TracChangeset for help on using the changeset viewer.