diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-09-28 15:29:19 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-10-01 09:57:41 +0200 |
commit | 3785b27b7622a46d067e39a995d56d71d88581a4 (patch) | |
tree | 6224f57c17fcfae68828044433e601dab1a13f95 /libavfilter/vf_drawtext.c | |
parent | 0d09645cfe8876e16d70f5b87bb07c120e291717 (diff) | |
download | ffmpeg-3785b27b7622a46d067e39a995d56d71d88581a4.tar.gz |
lavu/opt: consolidate common prologue for av_opt_set*()
The options-setting functions share several operations at their
beginnings - locating the option and the object to operate on, handling
the read-only and deprecated flags, and constructing the pointer to the
target value. Some of the functions also do not perform some of the
checks, although they should. E.g. a deprecation warning is currently
only printed for av_opt_set().
Introduce a prologue function that is called from every av_opt_set*()
and performs all these common initialization operations.
Diffstat (limited to 'libavfilter/vf_drawtext.c')
0 files changed, 0 insertions, 0 deletions