aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Strasser <eclipse7@gmx.net>2024-12-01 20:44:04 +0100
committerNuo Mi <nuomi2021@gmail.com>2024-12-03 10:19:34 +0800
commita280e2e646a209905fa64c6f65aa75f2be7d47b9 (patch)
tree73f2d4791aded4dd050e13ddf2ed2941dc6e0042
parentcb27e478f721e87d9cb0fbee10c8582720c5ce43 (diff)
downloadffmpeg-a280e2e646a209905fa64c6f65aa75f2be7d47b9.tar.gz
avcodec/cbs_h266: Fix typo
Introduced in commit 98698ed3c24bfd0b1e6e6db943b5f25f6046cee7 Fixes: CID1635788 CID1635789 Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
-rw-r--r--libavcodec/cbs_h266_syntax_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c
index 43def9220f..029fbd5e4f 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/libavcodec/cbs_h266_syntax_template.c
@@ -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) {