OSDN Git Service

avfilter: Fix printf format string conversion specifier
authorDiego Biurrun <diego@biurrun.de>
Tue, 24 Jul 2012 21:58:59 +0000 (23:58 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 25 Jul 2012 07:24:25 +0000 (09:24 +0200)
libavfilter/avfilter.c:224:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat]

libavfilter/avfilter.c

index dc82815..d302264 100644 (file)
@@ -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 : "",