summaryrefslogtreecommitdiff
path: root/src/rmd_load_cache.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-14 18:48:15 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-14 18:48:15 -0700
commit5ce6553ccf5502fc71d11d654c76bd1714cd36dd (patch)
tree3aa0da1ff240acf08c54c2954ee785a704bb38e4 /src/rmd_load_cache.c
parent2101b1f76e5e7eab4b4ea632db226fb76d99eeda (diff)
*: get rid of unused frames_{total,lost}
these concepts may return but not in this form
Diffstat (limited to 'src/rmd_load_cache.c')
-rw-r--r--src/rmd_load_cache.c8
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) ||
© All Rights Reserved