From 62975afa680619b05b2110065e09428b9d8fb719 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 24 Jun 2012 15:13:39 +0200 Subject: af_aresample: fix sample_rate type. should fix fate failures on 32bit x86 linux Signed-off-by: Michael Niedermayer --- libavfilter/af_aresample.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c index fdbc828b6b..685ed2fa50 100644 --- a/libavfilter/af_aresample.c +++ b/libavfilter/af_aresample.c @@ -160,7 +160,8 @@ static int config_output(AVFilterLink *outlink) av_get_channel_layout_string(inchl_buf, sizeof(inchl_buf), -1, inlink ->channel_layout); av_get_channel_layout_string(outchl_buf, sizeof(outchl_buf), -1, outlink->channel_layout); - av_log(ctx, AV_LOG_INFO, "chl:%s fmt:%s r:%"PRId64"Hz -> chl:%s fmt:%s r:%"PRId64"Hz\n", + + av_log(ctx, AV_LOG_INFO, "chl:%s fmt:%s r:%dHz -> chl:%s fmt:%s r:%dHz\n", inchl_buf, av_get_sample_fmt_name(inlink->format), inlink->sample_rate, outchl_buf, av_get_sample_fmt_name(outlink->format), outlink->sample_rate); return 0; -- cgit v1.2.3