avcodec/cbs_h266: Fix typo

Introduced in commit 98698ed3c2

Fixes: CID1635788 CID1635789
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
This commit is contained in:
Alexander Strasser 2024-12-01 20:44:04 +01:00 committed by Nuo Mi
parent cb27e478f7
commit a280e2e646

View File

@ -1151,7 +1151,7 @@ static int FUNC(sps)(CodedBitstreamContext *ctx, RWContext *rw,
else
infer(sps_subpic_width_minus1[0], max_width_minus1);
if (current->sps_pic_height_max_in_luma_samples > ctb_size_y)
us(hlen, sps_subpic_height_minus1[0], 0, max_width_minus1, 1, 0);
us(hlen, sps_subpic_height_minus1[0], 0, max_height_minus1, 1, 0);
else
infer(sps_subpic_height_minus1[0], max_height_minus1);
if (!current->sps_independent_subpics_flag) {