From 0b91e3c7df092b884c4f9ec4692877d7f3de2e1a Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Tue, 26 Dec 2023 15:56:10 -0700 Subject: [PATCH] Display filesize in MBs --- dvd_backup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvd_backup.c b/dvd_backup.c index 38662a2..e0eeb3b 100644 --- a/dvd_backup.c +++ b/dvd_backup.c @@ -513,12 +513,12 @@ int main(int argc, char **argv) { printf("[VTS %d]\n", vts); printf("* Blocks: %" PRIu64 "\n", dvd_vts[vts].blocks); - printf("* Filesize: %zu\n", dvd_vts[vts].filesize); + printf("* Filesize: %.0lf MBs\n", dvd_vts[vts].filesize_mbs); printf("* VOBs: %u\n", dvd_vts[vts].vobs); for(vob = 1; vob < dvd_vts[vts].vobs + 1; vob++) if(dvd_vts[vts].dvd_vobs[vob].blocks) - printf("* VOB %i filesize: %zu\n", vob, dvd_vob_filesize(dvdread_dvd, vts, vob)); + printf("* VOB %i filesize: %.0lf MBs\n", vob, dvd_vts[vts].dvd_vobs[vob].filesize_mbs); dvd_blocks_offset = 0;