diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-05-20 02:06:13 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-05-20 02:06:13 +0000 |
commit | 42bdd7408c91af52e8be18349f625cc6bb78d8f4 (patch) | |
tree | a743e76b8579a066ca2e1cfad7db0ce5b83a4ad6 | |
parent | abf8ed42ccb75f06ceefbea9619aa6b1e53a57d7 (diff) | |
download | xine-lib-42bdd7408c91af52e8be18349f625cc6bb78d8f4.tar.gz xine-lib-42bdd7408c91af52e8be18349f625cc6bb78d8f4.tar.bz2 |
make it compile again for non-Win32
CVS patchset: 4881
CVS date: 2003/05/20 02:06:13
-rw-r--r-- | src/input/input_cdda.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index cd6c86d95..113d8d130 100644 --- a/src/input/input_cdda.c +++ b/src/input/input_cdda.c @@ -20,7 +20,7 @@ * Compact Disc Digital Audio (CDDA) Input Plugin * by Mike Melanson (melanson@pcisys.net) * - * $Id: input_cdda.c,v 1.23 2003/05/20 01:23:56 tchamp Exp $ + * $Id: input_cdda.c,v 1.24 2003/05/20 02:06:13 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -1937,7 +1937,7 @@ static int cdda_open(cdda_input_plugin_t *this_gen, if (fd == -1) { return -1; } - this_gen>fd = fd; + this_gen->fd = fd; #else /* WIN32 */ @@ -2089,12 +2089,9 @@ static int cdda_open(cdda_input_plugin_t *this_gen, } - return -1; - - - #endif /* WIN32 */ + return -1; } static int cdda_close(cdda_input_plugin_t *this_gen) { @@ -2286,7 +2283,7 @@ static int cdda_plugin_open (input_plugin_t *this_gen ) { if (cdda_open(this, cdda_device, &toc) == -1) { free_cdrom_toc(&toc); return 0; - } + } #ifndef WIN32 err = read_cdrom_toc(this->fd, &toc); @@ -2438,7 +2435,7 @@ static char ** cdda_class_get_autoplay_list (input_class_t *this_gen, if (fd == -1) { if (cdda_open(ip, ip->cdda_device, &toc) == -1) { return NULL; - } + } } |