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_in
James Almer:
> And rename the existing one to ff_cbs_alloc().
> This will allow for more versatility when setting options in a module,
> allowing
> them to be taken into account when calling module specific init functions.
>
> Signed-off-by: James Almer
> ---
> libavcodec/apv_decode.c
And rename the existing one to ff_cbs_alloc().
This will allow for more versatility when setting options in a module, allowing
them to be taken into account when calling module specific init functions.
Signed-off-by: James Almer
---
libavcodec/apv_decode.c | 6 +-
libavcodec/apv_pa