avfilter/split: support any channel count for asplit filter
authorPaul B Mahol <onemda@gmail.com>
Fri, 5 Feb 2016 08:11:55 +0000 (09:11 +0100)
committerPaul B Mahol <onemda@gmail.com>
Fri, 5 Feb 2016 20:05:47 +0000 (21:05 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/split.c

index 1e4fb42..c545fd6 100644 (file)
@@ -32,6 +32,7 @@
 
 #include "avfilter.h"
 #include "audio.h"
+#include "formats.h"
 #include "internal.h"
 #include "video.h"
 
@@ -143,6 +144,7 @@ AVFilter ff_af_asplit = {
     .priv_class  = &asplit_class,
     .init        = split_init,
     .uninit      = split_uninit,
+    .query_formats = ff_query_formats_all,
     .inputs      = avfilter_af_asplit_inputs,
     .outputs     = NULL,
     .flags       = AVFILTER_FLAG_DYNAMIC_OUTPUTS,