Re: [FFmpeg-devel] [RFC] [PATCH] avcodec/cbs_h266: Fix copy paste mistake

2024-09-20 Thread Frank Plowman
Hi Marvin, Thanks for this patch and sorry for not getting around to it sooner. Patch LGTM, yes it is a mistake I made when copy-pasting the logic for the width -- sorry about that! Thanks again, Frank On 31/08/2024 22:25, Marvin Scholz wrote: > The us macro expect the range_max here, which see

[FFmpeg-devel] [RFC] [PATCH] avcodec/cbs_h266: Fix copy paste mistake

2024-08-31 Thread Marvin Scholz
The us macro expect the range_max here, which seems should be MAX_UINT_BITS(hlen) here. Fix CID1618757 Copy-paste error --- This code is non-trivial to understand so I might be wrong about this, it would be great if someone actually familiar with this can have a look if my assesment is correct he