Skip to content

Commit

Permalink
Display filesize in MBs
Browse files Browse the repository at this point in the history
  • Loading branch information
beandog committed Dec 26, 2023
1 parent cf010a1 commit 0b91e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dvd_backup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0b91e3c

Please sign in to comment.