From e3ca45dcf2ebc55753ebe7a84d3b801c90709bee Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 14 Sep 2003 14:44:26 +0000 Subject: [PATCH] Go back to 0xa2 for "leadout" --- lib/_cdio_osx.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/_cdio_osx.c b/lib/_cdio_osx.c index 53320e20..92a9b1c9 100644 --- a/lib/_cdio_osx.c +++ b/lib/_cdio_osx.c @@ -1,5 +1,5 @@ /* - $Id: _cdio_osx.c,v 1.2 2003/09/14 01:21:41 rocky Exp $ + $Id: _cdio_osx.c,v 1.3 2003/09/14 14:44:26 rocky Exp $ Copyright (C) 2003 Rocky Bernstein from vcdimager code Copyright (C) 2001 Herbert Valerio Riedel @@ -31,7 +31,7 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.2 2003/09/14 01:21:41 rocky Exp $"; +static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.3 2003/09/14 14:44:26 rocky Exp $"; #include #include @@ -388,7 +388,8 @@ _cdio_read_toc (_img_private_t *_obj) { track = pTrackDescriptors[i].point; - if( track == CDIO_CDROM_LEADOUT_TRACK ) + if( track == 0xA2 ) + /* Note leadout should be 0xAA, But OSX seems to use 0xA2. */ i_leadout = i; if( track > CDIO_CD_MAX_TRACKS || track < CDIO_CD_MIN_TRACK_NO ) @@ -522,7 +523,7 @@ _cdio_get_arg (void *user_data, const char key[]) } /*! - Return the number of of the first track. + Return the number of the first track. CDIO_INVALID_TRACK is returned on error. */ static track_t