see "8.3.6 Decoding process for collocated picture and no backward prediction"
Unified · Split
| @@ -125,7 +125,7 @@ int ff_vvc_no_backward_pred_flag(const VVCLocalContext *lc) · 124 unmodified lines | |||
| 125 | const RefPicList *rpl = lc->sc->rpl; | 125 | const RefPicList *rpl = lc->sc->rpl; |
| 126 | 126 | ||
| 127 | for (j = 0; j < 2; j++) { | 127 | for (j = 0; j < 2; j++) { |
| 128 | for (i = 0; i < rpl[j].nb_refs; i++) { | 128 | for (i = 0; i < lc->sc->sh.r->num_ref_idx_active[j]; i++) { |
| 129 | if (rpl[j].list[i] > lc->fc->ps.ph.poc) { | 129 | if (rpl[j].list[i] > lc->fc->ps.ph.poc) { |
| 130 | check_diffpicount++; | 130 | check_diffpicount++; |
| 131 | break; | 131 | break; |