[FFmpeg-cvslog] lavfi/graphdump: fix output for unknown layouts.

Nicolas George git at videolan.org
Thu Mar 14 20:55:32 CET 2013


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Mar 14 20:13:13 2013 +0100| [7a71544f9d0c2df152f58cc97238a9eb3038cbc7] | committer: Nicolas George

lavfi/graphdump: fix output for unknown layouts.

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

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

diff --git a/libavfilter/graphdump.c b/libavfilter/graphdump.c
index 45f64c0..28e9bc9 100644
--- a/libavfilter/graphdump.c
+++ b/libavfilter/graphdump.c
@@ -45,7 +45,7 @@ static int print_link_prop(AVBPrint *buf, AVFilterLink *link)
 
         case AVMEDIA_TYPE_AUDIO:
             av_get_channel_layout_string(layout, sizeof(layout),
-                                         -1, link->channel_layout);
+                                         link->channels, link->channel_layout);
             format = av_x_if_null(av_get_sample_fmt_name(link->format), "?");
             av_bprintf(buf, "[%dHz %s:%s]",
                        (int)link->sample_rate, format, layout);



More information about the ffmpeg-cvslog mailing list