diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-11 13:07:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-03 19:14:12 +0200 |
commit | 0c800c0b48f94edfa82e4bd4579ef3f27fdc49c2 (patch) | |
tree | a3c669e16a0a680f378f212e1ef0c6f2e2588d5d /tests/simple2.ffconcat | |
parent | c96d0a0b850f7068cb1de2206dae02bf44514e57 (diff) | |
download | ffmpeg-0c800c0b48f94edfa82e4bd4579ef3f27fdc49c2.tar.gz |
avfilter/avfilter: Honour the short options documentation
The documentation for filter arguments states that short options must
precede long options (i.e. those of the form key=value). Yet if
process_options() encounters arguments not abiding by this, it simply
treats short options after a long option as if it were parsing short
options for the first time. In particular, it overwrites options already
set earlier, possibly via other short options. This is not how it is
intended (as a comment in the code indicates).
This commit modifies the code to reject further shorthand options
after a long option has been encountered. After all, avfilter_init_str()
errors out upon unrecognized options, so it is intended to be picky.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/simple2.ffconcat')
0 files changed, 0 insertions, 0 deletions