[FFmpeg-cvslog] graph2dot: fix printf format specifier
Diego Biurrun
git at videolan.org
Wed Jul 4 21:09:51 CEST 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Jul 4 16:55:13 2012 +0200| [fa2d7473528c601c1076957d474ab7550d588828] | committer: Diego Biurrun
graph2dot: fix printf format specifier
tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fa2d7473528c601c1076957d474ab7550d588828
---
tools/graph2dot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/graph2dot.c b/tools/graph2dot.c
index a52416d..6ea2f32 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);
}
More information about the ffmpeg-cvslog
mailing list