[FFmpeg-cvslog] af_aresample: fix sample_rate type.

Michael Niedermayer git at videolan.org
Sun Jun 24 15:19:34 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 24 15:13:39 2012 +0200| [62975afa680619b05b2110065e09428b9d8fb719] | committer: Michael Niedermayer

af_aresample: fix sample_rate type.

should fix fate failures on 32bit x86 linux

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=62975afa680619b05b2110065e09428b9d8fb719
---

 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 fdbc828..685ed2f 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;



More information about the ffmpeg-cvslog mailing list