Browse Source

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

%f refers to a double argument already.
tags/n1.0
Clément Bœsch 13 years ago
parent
commit
d187e7616e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg.c

+ 1
- 1
ffmpeg.c 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);
}



Loading…
Cancel
Save