Skip to content
Snippets Groups Projects
Commit 065e9f84 authored by Seungwook Hong's avatar Seungwook Hong
Browse files

JVET-U0097: use getNumRefIdx() rather than constant 4

parent 42c63eda
No related branches found
No related tags found
No related merge requests found
......@@ -2785,7 +2785,7 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl
{
for (int e = 0; e < 2; e++)
{
for (int ridx = 0; ridx < 4; ridx++)
for (int ridx = 0; ridx < pcSlice->getNumRefIdx((RefPicList)e); ridx++)
{
Picture *pic = pcSlice->getRefPic((RefPicList)e, ridx);
if (pic)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment