diff options
Diffstat (limited to 'src/rmd_load_cache.c')
-rw-r--r-- | src/rmd_load_cache.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/rmd_load_cache.c b/src/rmd_load_cache.c index 0d94a37..8130cf3 100644 --- a/src/rmd_load_cache.c +++ b/src/rmd_load_cache.c @@ -237,12 +237,8 @@ void *rmdLoadCache(ProgData *pdata) { if (read_header(pdata, ifp, ucfp, frame.header)) { - if (pdata->frames_total) { - fprintf(stdout, "\r[%d%%] ", - ((frame.header->capture_frameno) * 100) / pdata->capture_frameno); - } else - fprintf(stdout, "\r[%d frames rendered] ", - (frame.header->capture_frameno)); + fprintf(stdout, "\r[%d%%] ", + ((frame.header->capture_frameno) * 100) / pdata->capture_frameno); fflush(stdout); if ( (frame.header->Ynum > blocknum_x * blocknum_y) || |