Opened 5 years ago
Closed 4 years ago
#800 closed defect (fixed)
out of range vector access
Reported by: | bordes | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | VTM | Version: | |
Keywords: | Cc: | ksuehring, XiangLi, fbossen, jvet@… |
Description (last modified by ksuehring)
In WeightPredAnalysis.cpp, in xCalcHistDistortion()
replace:
for (int i = 0; i <= numElements; i++) { distortion += (Distortion)(abs(histogram0[i] - histogram1[i])); }
by:
for (int i = 0; i < numElements; i++) { distortion += (Distortion)(abs(histogram0[i] - histogram1[i])); }
Change history (2)
comment:1 Changed 5 years ago by ksuehring
- Description modified (diff)
comment:2 Changed 4 years ago by fbossen
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.
This code was replaced in
https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/-/merge_requests/1275