commit b08441030bc9095b3727c0f30c25eb0ff0decb40
Author: Shimansky, Gregory <gregory.shimansky@intel.com>
Date: Wed Jan 21 11:18:47 2015 +0400
Added assert for maximum NumPicTotalCurr value
diff --git a/source/Lib/TLibCommon/TComSlice.cpp b/source/Lib/TLibCommon/TComSlice.cpp
index 0e7e3d8..908a14f 100644
a
|
b
|
Void TComSlice::setRefPicList( TComList<TComPic*>& rcListPic, Bool checkNumPocTo |
412 | 412 | } |
413 | 413 | |
414 | 414 | assert(numPocTotalCurr > 0); |
| 415 | assert(numPocTotalCurr <= 8); |
415 | 416 | |
416 | 417 | m_aiNumRefIdx[0] = getNumRefIdx(REF_PIC_LIST_0); |
417 | 418 | m_aiNumRefIdx[1] = getNumRefIdx(REF_PIC_LIST_1); |