avfilter/af_atempo: add support for unknown channel layouts
authorMarton Balint <cus@passwd.hu>
Sat, 3 Dec 2016 19:02:24 +0000 (20:02 +0100)
committerMarton Balint <cus@passwd.hu>
Sat, 10 Dec 2016 10:57:11 +0000 (11:57 +0100)
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavfilter/af_atempo.c

index d5d29b3..59b08ec 100644 (file)
@@ -1014,7 +1014,7 @@ static int query_formats(AVFilterContext *ctx)
     };
     int ret;
 
-    layouts = ff_all_channel_layouts();
+    layouts = ff_all_channel_counts();
     if (!layouts) {
         return AVERROR(ENOMEM);
     }