comparison stream/stream_cue.c @ 35885:3389262720da

Fix previous commit, off_t must be replaced by int64_t The commit replacing off_t by uint64_t was by accident, I meant to commit this variant. off_t must be replaced by a signed type to avoid breaking things like seeking backwards and also detecting errors from e.g. lseek without too complex hacks.
author reimar
date Sat, 16 Mar 2013 13:38:34 +0000
parents b5abdfe9bc61
children fdfddb4c8aa8
comparison
equal deleted inserted replaced
35884:edd8273dc025 35885:3389262720da
478 tracks[track].frame); 478 tracks[track].frame);
479 479
480 return VCD_SECTOR_DATA * sector; 480 return VCD_SECTOR_DATA * sector;
481 } 481 }
482 482
483 static int seek(stream_t *s, uint64_t newpos) { 483 static int seek(stream_t *s, int64_t newpos) {
484 s->pos=newpos; 484 s->pos=newpos;
485 cue_set_msf(s->pos/VCD_SECTOR_DATA); 485 cue_set_msf(s->pos/VCD_SECTOR_DATA);
486 return 1; 486 return 1;
487 } 487 }
488 488