[FFmpeg-devel] [PATCH 1/3] avcodec/cbs: add a new init function

James Almer jamrial at gmail.com
Sun May 25 05:41:00 EEST 2025


On 5/24/2025 8:08 AM, Andreas Rheinhardt wrote:
> If something like this were ever needed, it should not be implemented
> like this; instead ff_cbs_init() should be like avformat_open_input()
> and allocate a context if none was provided.
> 
> - Andreas

I didn't do that because it would require ff_cbs_init() to have the 
codec type and logctx as arguments in its signature.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250524/36eed421/attachment.sig>


More information about the ffmpeg-devel mailing list