You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
ffmpeg: use %f instead of %lf in volume args format printf.
%f refers to a double argument already.
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@ -918,7 +918,7 @@ static int configure_audio_filters(FilterGraph *fg, AVFilterContext **in_filter,
|
|||||||
if (audio_volume != 256) {
|
if (audio_volume != 256) {
|
||||||
char args[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);
|
AUTO_INSERT_FILTER("-vol", "volume", args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user