Search
lxdream.org :: lxdream/src/gdrom/cdi.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/cdi.c
changeset 422:61a0598e07ff
prev347:e686be8b10df
next453:20f9c11e69e5
author nkeynes
date Sat Oct 06 09:03:24 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/gdrom/cdi.c Sun Feb 04 11:30:41 2007 +0000
1.2 +++ b/src/gdrom/cdi.c Sat Oct 06 09:03:24 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: cdi.c,v 1.6 2007-02-04 11:30:41 nkeynes Exp $
1.6 + * $Id: cdi.c,v 1.7 2007-10-06 08:58:00 nkeynes Exp $
1.7 *
1.8 * CDI CD-image file support
1.9 *
1.10 @@ -76,15 +76,13 @@
1.11 {
1.12 gdrom_disc_t disc = NULL;
1.13 gdrom_image_t image;
1.14 - int fd = -1, i,j, tmp;
1.15 + int i,j;
1.16 uint16_t session_count;
1.17 uint16_t track_count;
1.18 int total_tracks = 0;
1.19 - int posn = 0, hdr;
1.20 + int posn = 0;
1.21 long len;
1.22 struct cdi_trailer trail;
1.23 - uint32_t new_fmt;
1.24 - char tmpc;
1.25 char marker[20];
1.26
1.27 fseek( f, -8, SEEK_END );
.