[FFmpeg-devel] [PATCH] avcodec/cbs_h266: Fix typo
Frank Plowman
post at frankplowman.com
Sun Dec 1 23:44:18 EET 2024
On 01/12/2024 19:44, Alexander Strasser via ffmpeg-devel wrote:
> Introduced in commit 98698ed3c24bfd0b1e6e6db943b5f25f6046cee7
>
> Fixes: CID1635788 CID1635789
> Signed-off-by: Alexander Strasser <eclipse7 at gmx.net>
> ---
>
> Just picked this up because of Coverity.
> Not sure how to verify/test this change, but it seems plausible.
>
> Alexander
>
> libavcodec/cbs_h266_syntax_template.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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) {
> --
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
Looks good to me.
Thanks,
Frank
More information about the ffmpeg-devel
mailing list