From 42bdd7408c91af52e8be18349f625cc6bb78d8f4 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Tue, 20 May 2003 02:06:13 +0000 Subject: make it compile again for non-Win32 CVS patchset: 4881 CVS date: 2003/05/20 02:06:13 --- src/input/input_cdda.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src') 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; - } + } } -- cgit v1.2.3