From 522d52b58f6a8c29efa915bb1b119f49212e89ee Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 11 Jul 2020 15:36:20 -0700 Subject: *: more formatting cleanups Nothing functionally changed --- recordmydesktop/src/rmd_load_cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recordmydesktop/src/rmd_load_cache.c') diff --git a/recordmydesktop/src/rmd_load_cache.c b/recordmydesktop/src/rmd_load_cache.c index 09e3138..8ca37f6 100644 --- a/recordmydesktop/src/rmd_load_cache.c +++ b/recordmydesktop/src/rmd_load_cache.c @@ -237,10 +237,10 @@ void *rmdLoadCache(ProgData *pdata) { missing_frames += frame.header->current_total - (extra_frames + frame.header->frameno); if (pdata->frames_total) { - fprintf(stdout, "\r[%d%%] ", + fprintf(stdout, "\r[%d%%] ", ((frame.header->frameno + extra_frames) * 100) / pdata->frames_total); } else - fprintf(stdout,"\r[%d frames rendered] ", + fprintf(stdout, "\r[%d frames rendered] ", (frame.header->frameno + extra_frames)); fflush(stdout); if ( (frame.header->Ynum <= blocknum_x * blocknum_y) && @@ -320,7 +320,7 @@ void *rmdLoadCache(ProgData *pdata) { pdata->v_encoding_clean = 1; pthread_cond_signal(&pdata->vorbis_lib_clean); pthread_mutex_unlock(&pdata->vorbis_lib_mutex); - fprintf(stdout,"\n"); + fprintf(stdout, "\n"); // Clear frame free(frame.YData); -- cgit v1.2.3