diff options
author | Niklas Haas <git@haasn.dev> | 2023-12-14 15:15:58 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-12-31 13:33:01 -0800 |
commit | e687a8485425e3d03ad8fea35b17ac8827ea1b82 (patch) | |
tree | ff6ac25a97b12b61e04137c6a6b8750f688ce2ce /tests/ref/fate/h264-conformance-midr_mw_d | |
parent | 0e9cf1abf558a5c71834548679c658b68244289d (diff) | |
download | ffmpeg-e687a8485425e3d03ad8fea35b17ac8827ea1b82.tar.gz |
avfilter/formats: set audio fmt lists for vaf filters
Currently, the logic inside the FF_FILTER_FORMATS_QUERY_FUNC branch
prevents this code from running in the event that we have a filter with
a single video input and a single audio output, as the resulting audio
output link will not have its channel counts / samplerates correctly
initialized to their default values, possibly triggering a segfault
downstream.
An example of such a filter is vaf_spectrumsynth. Although this
particular filter already sets up the channel counts and samplerates as
part of the query function and therefore avoids triggering this bug, the
bug still exists in principle. (And importantly, sets a wrong precedent)
Diffstat (limited to 'tests/ref/fate/h264-conformance-midr_mw_d')
0 files changed, 0 insertions, 0 deletions