lavfi/amerge: silence warnings
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@gmail.com>
This commit is contained in:
parent
61123fb8f7
commit
3f59bbf5b6
@ -141,7 +141,7 @@ static int config_output(AVFilterLink *outlink)
|
|||||||
if (ctx->inputs[i]->sample_rate != ctx->inputs[0]->sample_rate) {
|
if (ctx->inputs[i]->sample_rate != ctx->inputs[0]->sample_rate) {
|
||||||
av_log(ctx, AV_LOG_ERROR,
|
av_log(ctx, AV_LOG_ERROR,
|
||||||
"Inputs must have the same sample rate "
|
"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);
|
ctx->inputs[i]->sample_rate, i, ctx->inputs[0]->sample_rate);
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user