avcodec/cbs_h266: Fix copy paste mistake

The us macro expect the range_max here, which seems should be
MAX_UINT_BITS(hlen) here.

Fix CID1618757 Copy-paste error
This commit is contained in:
Marvin Scholz 2024-08-31 23:12:13 +02:00
parent 2eef902d38
commit 9e1682761f
1 changed files with 1 additions and 1 deletions

View File

@ -1208,7 +1208,7 @@ static int FUNC(sps)(CodedBitstreamContext *ctx, RWContext *rw,
win_top_edge_ctus > current->sps_subpic_ctu_top_left_y[i]
? win_top_edge_ctus - current->sps_subpic_ctu_top_left_y[i]
: 0,
MAX_UINT_BITS(wlen), 1, i);
MAX_UINT_BITS(hlen), 1, i);
} else {
infer(sps_subpic_height_minus1[i],
tmp_height_val -