diff options
author | Marvin Scholz <epirat07@gmail.com> | 2024-08-31 23:12:13 +0200 |
---|---|---|
committer | Marvin Scholz <epirat07@gmail.com> | 2024-09-20 22:32:54 +0200 |
commit | 9e1682761f9c2478722ac0204253d2abdba41aed (patch) | |
tree | f74876d14d6d31415422c158e558a2c62cf1c770 | |
parent | 2eef902d38dded68df7d874bc348aaa42ec87933 (diff) | |
download | ffmpeg-9e1682761f9c2478722ac0204253d2abdba41aed.tar.gz |
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
-rw-r--r-- | libavcodec/cbs_h266_syntax_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c index a8f5af04d0..0704da1d40 100644 --- a/libavcodec/cbs_h266_syntax_template.c +++ b/libavcodec/cbs_h266_syntax_template.c @@ -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 - |