Alden Bates - 2009-02-12

The software was crashing when I tried to rip a segment.  After fiddling with the code a bit, I found that the cdHandles object wasn't being initialised for some reason.  The fix I came up with:

in aspilib.c
function ReadCDAudioLBA
Insert the following four lines before the line retVal = cdHandles[idx].pfnRead( hCD, t );

  if(cdHandles[idx].readType==0) {
    cdHandles[idx].pfnRead  = readCDAudioLBA_ANY;
    cdHandles[idx].readType = CDR_ANY;
  }

Just in case anyone else has encountered the same problem. :)

Alden