Commit 49c45a26 authored by Diego Biurrun's avatar Diego Biurrun

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]
parent 6a433fdb
...@@ -222,7 +222,7 @@ void ff_dlog_link(void *ctx, AVFilterLink *link, int end) ...@@ -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_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout);
av_dlog(ctx, 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, link, link->sample_rate, buf,
av_get_sample_fmt_name(link->format), av_get_sample_fmt_name(link->format),
link->src ? link->src->filter->name : "", link->src ? link->src->filter->name : "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment