Re: [FFmpeg-devel] [PATCH 3/4] avcodec/adts_header: Add ff_adts_header_parse_buf()

2024-05-10 Thread Andreas Rheinhardt
James Almer: > On 5/10/2024 1:56 PM, Andreas Rheinhardt wrote: >> Most users of ff_adts_header_parse() don't already have >> an opened GetBitContext for the header, so add a convenience >> function for them. >> Also use a forward declaration of GetBitContext in adts_header.h >> as this avoids (impl

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/adts_header: Add ff_adts_header_parse_buf()

2024-05-10 Thread James Almer
On 5/10/2024 1:56 PM, Andreas Rheinhardt wrote: Most users of ff_adts_header_parse() don't already have an opened GetBitContext for the header, so add a convenience function for them. Also use a forward declaration of GetBitContext in adts_header.h as this avoids (implicit) inclusion of get_bits.

[FFmpeg-devel] [PATCH 3/4] avcodec/adts_header: Add ff_adts_header_parse_buf()

2024-05-10 Thread Andreas Rheinhardt
Most users of ff_adts_header_parse() don't already have an opened GetBitContext for the header, so add a convenience function for them. Also use a forward declaration of GetBitContext in adts_header.h as this avoids (implicit) inclusion of get_bits.h in some of the users that now no longer use a Ge