[FFmpeg-devel] [PATCH 2/9] avcodec/get_bits: add get_leb()

Leo Izen leo.izen at gmail.com
Sun Nov 26 15:40:51 EET 2023


On 11/25/23 20:28, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>   libavcodec/bitstream.h          |  2 ++
>   libavcodec/bitstream_template.h | 22 ++++++++++++++++++++++
>   libavcodec/get_bits.h           | 23 +++++++++++++++++++++++
>   3 files changed, 47 insertions(+)
> 

Out of curiosity, why do this (and the avio version) have to be global? 
What are they used for other than the iamf demuxer? Would it make sense 
to have a static inline read_leb function defined in iamf.c?

- Leo Izen (Traneptora)



More information about the ffmpeg-devel mailing list