[FFmpeg-devel] [PATCH] lavfi/amerge: silence warnings
Paul B Mahol
onemda at gmail.com
Thu Jun 28 18:55:44 CEST 2012
The warning silenced was: libavfilter/af_amerge.c:144:29: warning: conversion specifies type 'long long' but the argument has type 'int' [-Wformat]
The warning was introduced after FF_API_SAMPLERATE64 removal.
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
libavfilter/af_amerge.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 429057c..802188d 100644
--- a/libavfilter/af_amerge.c
+++ b/libavfilter/af_amerge.c
@@ -141,7 +141,7 @@ static int config_output(AVFilterLink *outlink)
if (ctx->inputs[i]->sample_rate != ctx->inputs[0]->sample_rate) {
av_log(ctx, AV_LOG_ERROR,
"Inputs must have the same sample rate "
- "(%"PRIi64" for in%d vs %"PRIi64")\n",
+ "%d for in%d vs %d\n",
ctx->inputs[i]->sample_rate, i, ctx->inputs[0]->sample_rate);
return AVERROR(EINVAL);
}
--
1.7.7
More information about the ffmpeg-devel
mailing list