Bug fix: DVD tracks of defined size >=2GB suffered 32-bit integer wraparound

This commit is contained in:
Thomas Schmitt 2007-01-26 08:46:53 +00:00
parent b754d9a511
commit f435ad0b26
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ following possible.
cdrskin. By Thomas Schmitt <scdbackup@gmx.net> cdrskin. By Thomas Schmitt <scdbackup@gmx.net>
Integrated sub project of libburnia.pykix.org but also published via: Integrated sub project of libburnia.pykix.org but also published via:
http://scdbackup.sourceforge.net/cdrskin_eng.html http://scdbackup.sourceforge.net/cdrskin_eng.html
http://scdbackup.sourceforge.net/cdrskin-0.3.0.pl00.tar.gz http://scdbackup.sourceforge.net/cdrskin-0.3.0.pl01.tar.gz
Copyright (C) 2006-2007 Thomas Schmitt Copyright (C) 2006-2007 Thomas Schmitt
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
@ -59,9 +59,9 @@ systems, including 64 bit systems. (Further reports are welcome.)
Compilation, First Glimpse, Installation Compilation, First Glimpse, Installation
Obtain cdrskin-0.3.0.pl00.tar.gz, take it to a directory of your choice and do: Obtain cdrskin-0.3.0.pl01.tar.gz, take it to a directory of your choice and do:
tar xzf cdrskin-0.3.0.pl00.tar.gz tar xzf cdrskin-0.3.0.pl01.tar.gz
cd cdrskin-0.3.0 cd cdrskin-0.3.0
Or obtain a libburnia.pykix.org SVN snapshot, Or obtain a libburnia.pykix.org SVN snapshot,

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.01.16.120001" #define Cdrskin_timestamP "2007.01.25.180001"

View File

@ -317,7 +317,7 @@ void burn_track_clear_isrc(struct burn_track *t)
int burn_track_get_sectors(struct burn_track *t) int burn_track_get_sectors(struct burn_track *t)
{ {
int size; off_t size;
int sectors, seclen; int sectors, seclen;
seclen = burn_sector_length(t->mode); seclen = burn_sector_length(t->mode);