aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_mjpeg.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
commit577708a70ad873badcf4e7e8aa070fc1a95042fd (patch)
treef40f95537fb1f254d8f38a2818a5ce055d5b3555 /libavcodec/vaapi_mjpeg.c
parentf6f0e05815a12fdae25b4ce4a345ee27de366574 (diff)
downloadffmpeg-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/vaapi_mjpeg.c')
0 files changed, 0 insertions, 0 deletions