mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
ffmpeg: use %f instead of %lf in volume args format printf.
%f refers to a double argument already.
This commit is contained in:
parent
ca7fa3a516
commit
d187e7616e
2
ffmpeg.c
2
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user