diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-11 19:10:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-11 19:10:39 +0200 |
commit | 44f69c0df8c1d12b450c01ac151d850bf6a8a5b6 (patch) | |
tree | 35eda31caf903668d31ebf8e93ac344def923e83 /libavfilter | |
parent | bb0d3a439394729ad5d35c5db3bc89894fe177de (diff) | |
download | ffmpeg-44f69c0df8c1d12b450c01ac151d850bf6a8a5b6.tar.gz |
avfilter/af_astats: fix 64bit printf type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_astats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_astats.c b/libavfilter/af_astats.c index 6de4e0205c..e1baa3ca37 100644 --- a/libavfilter/af_astats.c +++ b/libavfilter/af_astats.c @@ -219,7 +219,7 @@ static void print_stats(AVFilterContext *ctx) av_log(ctx, AV_LOG_INFO, "RMS trough dB: %f\n",LINEAR_TO_DB(sqrt(p->min_sigma_x2))); av_log(ctx, AV_LOG_INFO, "Crest factor: %f\n", p->sigma_x2 ? FFMAX(-p->min, p->max) / sqrt(p->sigma_x2 / p->nb_samples) : 1); av_log(ctx, AV_LOG_INFO, "Flat factor: %f\n", LINEAR_TO_DB((p->min_runs + p->max_runs) / (p->min_count + p->max_count))); - av_log(ctx, AV_LOG_INFO, "Peak count: %lld\n", p->min_count + p->max_count); + av_log(ctx, AV_LOG_INFO, "Peak count: %"PRId64"\n", p->min_count + p->max_count); } av_log(ctx, AV_LOG_INFO, "Overall\n"); @@ -233,7 +233,7 @@ static void print_stats(AVFilterContext *ctx) av_log(ctx, AV_LOG_INFO, "RMS trough dB: %f\n", LINEAR_TO_DB(sqrt(min_sigma_x2))); av_log(ctx, AV_LOG_INFO, "Flat factor: %f\n", LINEAR_TO_DB((min_runs + max_runs) / (min_count + max_count))); av_log(ctx, AV_LOG_INFO, "Peak count: %f\n", (min_count + max_count) / (double)s->nb_channels); - av_log(ctx, AV_LOG_INFO, "Number of samples: %lld\n", nb_samples / s->nb_channels); + av_log(ctx, AV_LOG_INFO, "Number of samples: %"PRId64"\n", nb_samples / s->nb_channels); } static av_cold void uninit(AVFilterContext *ctx) |