mbox series

[FFmpeg-devel,v3,00/17] Add avcodec_get_supported_config()

Message ID 20240830102402.18149-1-ffmpeg@haasn.xyz
Headers show
Series Add avcodec_get_supported_config() | expand

Message

Niklas Haas Aug. 30, 2024, 10:15 a.m. UTC
Changes since v2:

- Rebased onto master
- Add length field, to be (optionally) populated by the callee.
- Rewrite fftools code to take advantage of this new length field

This should address the remaining feedback from Andreas.

One thing I did notice though is that the `const void **out_configs` signature
makes it a bit awkward for the caller to pass an allocated array controlled
by the caller. But on the other hand, changing this to a `void *` is also
pretty nasty an in particular makes it too easy to accidentally attempt
mutating `const static` data.