On Sat, Jul 1, 2023 at 5:31 AM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote:
> Probably a typo. Fixes a warning from Clang. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > --- > 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 863fecdefa..56e1205337 100644 > --- a/libavcodec/cbs_h266_syntax_template.c > +++ b/libavcodec/cbs_h266_syntax_template.c > @@ -1059,7 +1059,7 @@ static int FUNC(sps)(CodedBitstreamContext *ctx, > RWContext *rw, > if (current->sps_pic_width_max_in_luma_samples > ctb_size_y) > ubs(wlen, sps_subpic_width_minus1[0], 1, 0); > else > - infer(sps_subpic_width_minus1[i], tmp_width_val - 1); > + infer(sps_subpic_width_minus1[0], tmp_width_val - 1); > if (current->sps_pic_height_max_in_luma_samples > ctb_size_y) > ubs(hlen, sps_subpic_height_minus1[0], 1, 0); > else > -- > 2.34.1 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". LGTM. It's a typo, fixed at https://github.com/ffvvc/FFmpeg/blob/cd27af258d2832706b6831cc3840dd69ddeeb4b5/libavcodec/cbs_h266_syntax_template.c#L1063 It may have some other misc fixes. I will send them out later. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".