From fa2d7473528c601c1076957d474ab7550d588828 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 4 Jul 2012 16:55:13 +0200 Subject: graph2dot: fix printf format specifier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’ --- tools/graph2dot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/graph2dot.c b/tools/graph2dot.c index a52416db31..6ea2f3206d 100644 --- a/tools/graph2dot.c +++ b/tools/graph2dot.c @@ -80,7 +80,7 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph) av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout); fprintf(outfile, - " [ label= \"fmt:%s sr:%"PRId64 " cl:%s\" ]", + " [ label= \"fmt:%s sr:%d cl:%s\" ]", av_get_sample_fmt_name(link->format), link->sample_rate, buf); } -- cgit v1.2.3