OSDN Git Service

lavfi/amerge: silence warnings
authorPaul B Mahol <onemda@gmail.com>
Thu, 28 Jun 2012 16:51:17 +0000 (16:51 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 28 Jun 2012 17:18:37 +0000 (17:18 +0000)
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>
libavfilter/af_amerge.c

index 429057c..802188d 100644 (file)
@@ -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);
         }