diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-18 13:04:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-10 07:17:21 +0200 |
commit | d1991f51f3298e91f9e4cca1f581b486fbd29ec3 (patch) | |
tree | d9bf0d36a6ad95ec48c162bee41e3bd111fb8701 /ffmpeg.c | |
parent | 3372ec327b09abe492399d662c903ed77b359d45 (diff) | |
download | ffmpeg-d1991f51f3298e91f9e4cca1f581b486fbd29ec3.tar.gz |
ffmpeg: fix negative verbosity.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1378,7 +1378,7 @@ static void print_report(AVFormatContext **output_files, if (ti1 < 0.01) ti1 = 0.01; - if (verbose || is_last_report) { + if (verbose > 0 || is_last_report) { bitrate = (double)(total_size * 8) / ti1 / 1000.0; snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), @@ -4047,7 +4047,7 @@ static void opt_target(const char *arg) } } } - if(verbose && norm != UNKNOWN) + if(verbose > 0 && norm != UNKNOWN) fprintf(stderr, "Assuming %s for target.\n", norm == PAL ? "PAL" : "NTSC"); } |