Browse code

avfilter/split: support any channel count for asplit filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>

Paul B Mahol authored on 2016/02/05 17:11:55
Showing 1 changed files
... ...
@@ -32,6 +32,7 @@
32 32
 
33 33
 #include "avfilter.h"
34 34
 #include "audio.h"
35
+#include "formats.h"
35 36
 #include "internal.h"
36 37
 #include "video.h"
37 38
 
... ...
@@ -143,6 +144,7 @@ AVFilter ff_af_asplit = {
143 143
     .priv_class  = &asplit_class,
144 144
     .init        = split_init,
145 145
     .uninit      = split_uninit,
146
+    .query_formats = ff_query_formats_all,
146 147
     .inputs      = avfilter_af_asplit_inputs,
147 148
     .outputs     = NULL,
148 149
     .flags       = AVFILTER_FLAG_DYNAMIC_OUTPUTS,