[FFmpeg-devel] [PATCH] avfilter/af_compand: %f is for printing doubles
Paul B Mahol
onemda at gmail.com
Tue Jul 30 20:39:29 CEST 2013
On 7/30/13, Michael Niedermayer <michaelni at gmx.at> wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> libavfilter/af_compand.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/af_compand.c b/libavfilter/af_compand.c
> index 8630cda..6cbfbf4 100644
> --- a/libavfilter/af_compand.c
> +++ b/libavfilter/af_compand.c
> @@ -355,7 +355,7 @@ static int config_output(AVFilterLink *outlink)
> return AVERROR(EINVAL);
> }
> S(i).y -= S(i).x;
> - av_log(ctx, AV_LOG_DEBUG, "%d: x=%lf y=%lf\n", i, S(i).x, S(i).y);
> + av_log(ctx, AV_LOG_DEBUG, "%d: x=%f y=%f\n", i, S(i).x, S(i).y);
> new_nb_items++;
> }
> num = new_nb_items;
> --
> 1.7.9.5
This gives me warning with clang.
More information about the ffmpeg-devel
mailing list