From d187e7616e32353e31c046cd095b19c96073bcad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Mon, 28 May 2012 22:17:01 +0200 Subject: ffmpeg: use %f instead of %lf in volume args format printf. %f refers to a double argument already. --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index d8396dc1f9..c6297a1a1c 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -918,7 +918,7 @@ static int configure_audio_filters(FilterGraph *fg, AVFilterContext **in_filter, if (audio_volume != 256) { char args[256]; - snprintf(args, sizeof(args), "%lf", audio_volume / 256.); + snprintf(args, sizeof(args), "%f", audio_volume / 256.); AUTO_INSERT_FILTER("-vol", "volume", args); } -- cgit v1.2.3