summaryrefslogtreecommitdiff
path: root/libavfilter/formats.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2020-04-16 16:55:36 +0200
committerNicolas George <george@nsup.org>2020-05-23 15:50:20 +0200
commitd5e5c6862bbc834d5a036a3fa053a7569d84f928 (patch)
tree7fc5613e44a04b2920f2ee88eda90610c99a7654 /libavfilter/formats.c
parentdf123590f0c6460af20fba0be00ca1d02ca855cc (diff)
lavfi/formats: remove dead code.
Move the contents of all_channel_layouts.inc directly into libavfilter/tests/formats.c.
Diffstat (limited to 'libavfilter/formats.c')
-rw-r--r--libavfilter/formats.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index 784f604483..de4315369d 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -368,11 +368,6 @@ AVFilterFormats *ff_all_formats(enum AVMediaType type)
return ret;
}
-const int64_t avfilter_all_channel_layouts[] = {
-#include "all_channel_layouts.inc"
- -1
-};
-
int ff_formats_pixdesc_filter(AVFilterFormats **rfmts, unsigned want, unsigned rej)
{
unsigned nb_formats, fmt, flags;
@@ -414,11 +409,6 @@ int ff_formats_pixdesc_filter(AVFilterFormats **rfmts, unsigned want, unsigned r
}
}
-// AVFilterFormats *avfilter_make_all_channel_layouts(void)
-// {
-// return avfilter_make_format64_list(avfilter_all_channel_layouts);
-// }
-
AVFilterFormats *ff_planar_sample_fmts(void)
{
AVFilterFormats *ret = NULL;