aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-07-24 23:58:59 +0200
committerDiego Biurrun <diego@biurrun.de>2012-07-25 09:24:25 +0200
commit49c45a26244cee7594b3530c1d8975ce13d6b8f0 (patch)
tree2574c9612b03a54509744a3ce60dff4c041ce4bd
parent6a433fdba82ff241be2e9193f66a43689766e4d7 (diff)
downloadffmpeg-49c45a26244cee7594b3530c1d8975ce13d6b8f0.tar.gz
avfilter: Fix printf format string conversion specifier
libavfilter/avfilter.c:224:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat]
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index dc828153f9..d302264137 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -222,7 +222,7 @@ void ff_dlog_link(void *ctx, AVFilterLink *link, int end)
av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout);
av_dlog(ctx,
- "link[%p r:%"PRId64" cl:%s fmt:%-16s %-16s->%-16s]%s",
+ "link[%p r:%d cl:%s fmt:%-16s %-16s->%-16s]%s",
link, link->sample_rate, buf,
av_get_sample_fmt_name(link->format),
link->src ? link->src->filter->name : "",