aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/acm.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-13 16:54:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-19 04:45:34 +0200
commita85d2de45f37aace0cbdb754881effa0c9689784 (patch)
tree3f257065c0cca93338dcf40fdc744d6e64144505 /libavformat/acm.c
parent0c34cf899dc67febb57f5da4ec50640985e4f670 (diff)
downloadffmpeg-a85d2de45f37aace0cbdb754881effa0c9689784.tar.gz
avfilter/vf_spp: Use preinit instead of init_dict
By using preinit, the AVDCT already exists directly after allocating the filter, so that the filter's AVClass's child_next becomes usable for setting options with the AV_OPT_SEARCH_CHILDREN search flag. This means that it is no longer necessary to use the init_dict callback for this filter. Furthermore, the earlier code did not abide by the documentation of the init_dict callback at all: Instead of only returning the options that have not been recognized it always returned all options on any av_opt_set() error and errored out in this case, even if it is just an unrecognized option. This behaviour has been inherited by avfilter_init_dict(), contradicting its documentation. This is also fixed in this commit. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/acm.c')
0 files changed, 0 insertions, 0 deletions