summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-18 13:04:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-19 01:54:58 +0200
commit17ee7b5515cd1006a1f7ba4a9cced14f6526c1b0 (patch)
treef6b1c3502356c69526ee0f44b96ed22ea4642201 /ffmpeg.c
parent9c3ad1afc861bcf2ce113c22f1d92679168244ed (diff)
ffmpeg:Fix negative verbositiy
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 2b7cc86f6c..06c8bed2f0 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1441,7 +1441,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),
@@ -4089,7 +4089,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");
}