aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/transcode.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-09-25 11:58:57 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-28 17:04:33 +0200
commit53c71777e193e6697cf3e7580b2e37df95cd1f3a (patch)
treee540d46b559f8138a0b306cd8406c998ef2f17ac /doc/examples/transcode.c
parent4ffd586e34081a1486f3a352741ce1f9bd1bbd5c (diff)
downloadffmpeg-53c71777e193e6697cf3e7580b2e37df95cd1f3a.tar.gz
fftools/ffmpeg_filter: 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 'doc/examples/transcode.c')
0 files changed, 0 insertions, 0 deletions