[FFmpeg-cvslog] lavfi/af_aformat: accept unknown channel layouts.

Nicolas George git at videolan.org
Sat Jan 26 11:20:45 CET 2013


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Wed Dec 26 16:51:26 2012 +0100| [6d962aec8dd3b3d2dc6baf5969a2300c4cd7ae0b] | committer: Nicolas George

lavfi/af_aformat: accept unknown channel layouts.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d962aec8dd3b3d2dc6baf5969a2300c4cd7ae0b
---

 libavfilter/af_aformat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 }



More information about the ffmpeg-cvslog mailing list