diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-12-09 15:40:03 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-12-12 22:56:36 +0300 |
commit | 0a19538bcf401afd369a597fe1fa06172368e46f (patch) | |
tree | 7ca44edab499ab67a3a9584d945a7bb440eaa710 /libavfilter/formats.c | |
parent | 69e80d6ce42c6b1a19f6cc79d68cedd91111cc37 (diff) |
avfilter: add SOFAlizer audio filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/formats.c')
-rw-r--r-- | libavfilter/formats.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c index 95a6b1188d..a2b19e7603 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -289,6 +289,17 @@ AVFilterFormats *ff_make_format_list(const int *fmts) return formats; } +AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts) +{ + MAKE_FORMAT_LIST(AVFilterChannelLayouts, + channel_layouts, nb_channel_layouts); + if (count) + memcpy(formats->channel_layouts, fmts, + sizeof(*formats->channel_layouts) * count); + + return formats; +} + AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts) { MAKE_FORMAT_LIST(AVFilterChannelLayouts, |