Changeset 1379 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
24 Jul 2015, 19:26:01 (9 years ago)
Author:
seregin
Message:

temporally fix out of bound usage pHRD = hrdVec[i] --> pHRD = hrdVec[schedSelIdx]

Location:
branches/SHM-dev/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp

    r1352 r1379  
    684684    std::vector<const TComHRD*> hrdVec;
    685685    std::vector<Int> syntaxElemLen(maxValues, 0);
     686
     687    Int schedSelIdx = 0;
     688
    686689    for(i = 0; i < maxValues; i++)
    687690    {
     
    701704      }
    702705    }
    703     pHRD = hrdVec[i];
     706    pHRD = hrdVec[schedSelIdx];
    704707  }
    705708  else
  • branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp

    r1352 r1379  
    433433    std::vector<const TComHRD*> hrdVec;
    434434    std::vector<Int> syntaxElemLen(maxValues, 0);
     435
     436    Int schedSelIdx = 0;
     437
    435438    for(i = 0; i < maxValues; i++)
    436439    {
     
    450453      }
    451454    }
    452     hrd = hrdVec[i];
     455    hrd = hrdVec[schedSelIdx];
    453456  }
    454457  else
Note: See TracChangeset for help on using the changeset viewer.