From f54f7824e22d8af93824974aa84b6b5bae2a8060 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 6 Apr 2003 23:09:30 +0000 Subject: [PATCH] Back off a little with the #define thing a little for now. I made a mistake somewhere. (And don't want to track it down further.) --- lib/_cdio_bincue.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/_cdio_bincue.c b/lib/_cdio_bincue.c index 14e3df70..51727de8 100644 --- a/lib/_cdio_bincue.c +++ b/lib/_cdio_bincue.c @@ -1,5 +1,5 @@ /* - $Id: _cdio_bincue.c,v 1.7 2003/04/06 17:57:20 rocky Exp $ + $Id: _cdio_bincue.c,v 1.8 2003/04/06 23:09:30 rocky Exp $ Copyright (C) 2001 Herbert Valerio Riedel Copyright (C) 2002,2003 Rocky Bernstein @@ -28,7 +28,7 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: _cdio_bincue.c,v 1.7 2003/04/06 17:57:20 rocky Exp $"; +static const char _rcsid[] = "$Id: _cdio_bincue.c,v 1.8 2003/04/06 23:09:30 rocky Exp $"; #include #include @@ -481,9 +481,9 @@ _read_mode2_sector (void *user_data, void *data, uint32_t lsn, blocksize, 1); if (mode2_form2) - memcpy (data, buf + CDIO_CD_XA_HEADER, M2RAW_SECTOR_SIZE); + memcpy (data, buf + 12 + 4, M2RAW_SECTOR_SIZE); else - memcpy (data, buf + CDIO_CD_XA_SYNC_HEADER, CDIO_CD_FRAMESIZE); + memcpy (data, buf + 12 + 4 + 8, CDIO_CD_FRAMESIZE); return 0; }