aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_super2xsai.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-09-28 15:29:19 +0200
committerAnton Khirnov <anton@khirnov.net>2024-10-01 09:57:41 +0200
commit3785b27b7622a46d067e39a995d56d71d88581a4 (patch)
tree6224f57c17fcfae68828044433e601dab1a13f95 /libavfilter/vf_super2xsai.c
parent0d09645cfe8876e16d70f5b87bb07c120e291717 (diff)
downloadffmpeg-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_super2xsai.c')
0 files changed, 0 insertions, 0 deletions