graph2dot: fix printf format specifier

tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’
This commit is contained in:
Diego Biurrun 2012-07-04 16:55:13 +02:00
parent 557519189f
commit fa2d747352
1 changed files with 1 additions and 1 deletions

View File

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