From e4971ecac5db623a1171f77fbb1a9d6f91291b02 Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 14 Jun 2004 08:18:57 +0000 Subject: [PATCH] Wait a minute - the 0xa2 *is* larger than CDIO_CD_MAX_TRACKS. But I guess we still should consider ptrackDescriptors[i_descriptors]. --- lib/_cdio_osx.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/_cdio_osx.c b/lib/_cdio_osx.c index 2f3ae3c6..0ccd1328 100644 --- a/lib/_cdio_osx.c +++ b/lib/_cdio_osx.c @@ -1,5 +1,5 @@ /* - $Id: _cdio_osx.c,v 1.33 2004/06/13 21:43:41 rocky Exp $ + $Id: _cdio_osx.c,v 1.34 2004/06/14 08:18:57 rocky Exp $ Copyright (C) 2003, 2004 Rocky Bernstein from vcdimager code: @@ -33,7 +33,7 @@ #include "config.h" #endif -static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.33 2004/06/13 21:43:41 rocky Exp $"; +static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.34 2004/06/14 08:18:57 rocky Exp $"; #include #include @@ -147,8 +147,7 @@ getFirstTrack_osx( CDTOC *pTOC, int i_descriptors ) { i_track = pTrackDescriptors[i].point; - if( i_track > CDIO_CD_MAX_TRACKS || i_track < CDIO_CD_MIN_TRACK_NO - || i_track == 0xA2 ) + if( i_track > CDIO_CD_MAX_TRACKS || i_track < CDIO_CD_MIN_TRACK_NO ) continue; return ( i_track ); }