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

Niklas Haas ffmpeg at haasn.xyz
Fri Aug 30 13:15:23 EEST 2024


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.



More information about the ffmpeg-devel mailing list