Opened 4 years ago
Closed 4 years ago
#1226 closed defect (fixed)
Infinite loop in Section 7.3.2.4
Reported by: | bheng | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | spec | Version: | VVC D10 vD |
Keywords: | Cc: | ksuehring, bbross, XiangLi, fbossen, jvet@… |
Description
I believe the following for-loop will cause an infinite loop.
for( i = 0; i < sps_rpl1_same_as_rpl0_flag ? 1 : 2; i++ ) {
I would suggest adding an extra parenthesis:
for( i = 0; i < (sps_rpl1_same_as_rpl0_flag ? 1 : 2); i++ ) {
Change history (1)
comment:1 Changed 4 years ago by jlchen
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.
Good catch! Will be fixed in S2001 vE release.