diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-09-25 11:58:57 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-09-28 17:04:33 +0200 |
commit | 577708a70ad873badcf4e7e8aa070fc1a95042fd (patch) | |
tree | f40f95537fb1f254d8f38a2818a5ce055d5b3555 /libavcodec/amfenc_av1.c | |
parent | f6f0e05815a12fdae25b4ce4a345ee27de366574 (diff) | |
download | ffmpeg-577708a70ad873badcf4e7e8aa070fc1a95042fd.tar.gz |
fftools/ffplay: stop using avfilter_graph_create_filter() incorrectly
This function creates AND initializes a filter, so setting any filter
options after it is wrong. It happens to work when the filter's init
function does not touch the options in question, but is forbidden by the
API and is not guaranteed to remain functional.
Instead, use avfilter_graph_alloc_filter(), followed by setting the
options, and avfilter_init_dict().
Diffstat (limited to 'libavcodec/amfenc_av1.c')
0 files changed, 0 insertions, 0 deletions