diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-07-23 14:44:11 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-07-23 14:44:11 +0200 |
commit | 02aca13f192f5b49ed4ccce28fcf62ea29b2e2fe (patch) | |
tree | d4245f48f0287313fbcbe1a0b3e1c2f449895259 /test/ipedec.c | |
parent | 780d620175ae5ab900c2c558fb747d95bca09f19 (diff) | |
download | ufodecode-02aca13f192f5b49ed4ccce28fcf62ea29b2e2fe.tar.gz ufodecode-02aca13f192f5b49ed4ccce28fcf62ea29b2e2fe.tar.bz2 ufodecode-02aca13f192f5b49ed4ccce28fcf62ea29b2e2fe.tar.xz ufodecode-02aca13f192f5b49ed4ccce28fcf62ea29b2e2fe.zip |
Update number of frames only on success
Diffstat (limited to 'test/ipedec.c')
-rw-r--r-- | test/ipedec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ipedec.c b/test/ipedec.c index a58b51d..135c7c2 100644 --- a/test/ipedec.c +++ b/test/ipedec.c @@ -177,9 +177,10 @@ process_file(const char *filename, Options *opts) meta.n_rows = opts->rows; timer_stop (timer); - n_frames++; if (!error) { + n_frames++; + if (opts->verbose) { printf("Status for frame %i\n", n_frames); print_meta_data (&meta); |