[FFmpeg-devel] [PATCH 07/10] lavfi/af_aformat: accept unknown channel layouts.

Nicolas George nicolas.george at normalesup.org
Wed Jan 16 17:50:21 CET 2013


Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavfilter/af_aformat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Unchanged, approved.


diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c
index b1d779f..9ac381f 100644
--- a/libavfilter/af_aformat.c
+++ b/libavfilter/af_aformat.c
@@ -121,7 +121,7 @@ static int query_formats(AVFilterContext *ctx)
     ff_set_common_samplerates(ctx, s->sample_rates ? s->sample_rates :
                                                      ff_all_samplerates());
     ff_set_common_channel_layouts(ctx, s->channel_layouts ? s->channel_layouts :
-                                                            ff_all_channel_layouts());
+                                                            ff_all_channel_counts());
 
     return 0;
 }
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list