diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-12-17 18:10:17 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-12-22 11:39:57 +0100 |
commit | 41716214c2912cf84946c939bea5400581384569 (patch) | |
tree | 9a9142b9482a5ae369ffc24db6382e468ac495d7 /libavfilter | |
parent | 148fac277a173473eed4ea6b03c7575e5696b3fa (diff) | |
download | ffmpeg-41716214c2912cf84946c939bea5400581384569.tar.gz |
fftools/ffmpeg: improve WARN_MULTIPLE_OPT_USAGE()
Currently it requires every single OPT_SPEC option to be accompanied by
an array of alternate names for this option. The vast majority of
options have no alternate names, resulting in a large numbers of
unnecessary single-element arrays that merely contain the option name.
Extend the option parsing API to allow marking options as having
alternate names, or as being the canonical name for some existing
alternatives. Use this new information to avoid the need for
abovementioned unnecessary single-element arrays.
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions