Introduced in commit 98698ed3c24bfd0b1e6e6db943b5f25f6046cee7
Unified · Split
| @@ -1151,7 +1151,7 @@ static int FUNC(sps)(CodedBitstreamContext *ctx, RWContext *rw, · 1150 unmodified lines | ||
| 1151 | 1151 | else |
| 1152 | 1152 | infer(sps_subpic_width_minus1[0], max_width_minus1); |
| 1153 | 1153 | if (current->sps_pic_height_max_in_luma_samples > ctb_size_y) |
| 1154 | − us(hlen, sps_subpic_height_minus1[0], 0, max_width_minus1, 1, 0); | |
| 1154 | + us(hlen, sps_subpic_height_minus1[0], 0, max_height_minus1, 1, 0); | |
| 1155 | 1155 | else |
| 1156 | 1156 | infer(sps_subpic_height_minus1[0], max_height_minus1); |
| 1157 | 1157 | if (!current->sps_independent_subpics_flag) { |