ffmpeg: use %f instead of %lf in volume args format printf.

%f refers to a double argument already.
This commit is contained in:
Clément Bœsch 2012-05-28 22:17:01 +02:00
parent ca7fa3a516
commit d187e7616e

View File

@ -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);
}