summaryrefslogtreecommitdiff
path: root/decoder/cdec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/cdec.cc')
-rw-r--r--decoder/cdec.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder/cdec.cc b/decoder/cdec.cc
index 5b930c69..b47ab380 100644
--- a/decoder/cdec.cc
+++ b/decoder/cdec.cc
@@ -3,6 +3,7 @@
#include "filelib.h"
#include "decoder.h"
#include "ff_register.h"
+#include "verbose.h"
using namespace std;
@@ -11,7 +12,7 @@ int main(int argc, char** argv) {
Decoder decoder(argc, argv);
const string input = decoder.GetConf()["input"].as<string>();
- cerr << "Reading input from " << ((input == "-") ? "STDIN" : input.c_str()) << endl;
+ if (!SILENT) cerr << "Reading input from " << ((input == "-") ? "STDIN" : input.c_str()) << endl;
ReadFile in_read(input);
istream *in = in_read.stream();
assert(*in);