Re: [FFmpeg-devel] [PATCH 1/2] avcodec/cbs: Add specialization for ff_cbs_(read|write)_unsigned()

2023-07-30 Thread Andreas Rheinhardt
Andreas Rheinhardt: > These functions allow not only to read and write unsigned values, > but also to check ranges and to emit trace output which can be > beautified when processing arrays (indices like "[i]" are replaced > by their actual numbers). > > Yet lots of callers actually only need

[FFmpeg-devel] [PATCH 1/2] avcodec/cbs: Add specialization for ff_cbs_(read|write)_unsigned()

2022-07-01 Thread Andreas Rheinhardt
These functions allow not only to read and write unsigned values, but also to check ranges and to emit trace output which can be beautified when processing arrays (indices like "[i]" are replaced by their actual numbers). Yet lots of callers actually only need something simpler: Their range is