diff options
author | Ewald Snel <esnel@users.sourceforge.net> | 2002-06-19 22:22:30 +0000 |
---|---|---|
committer | Ewald Snel <esnel@users.sourceforge.net> | 2002-06-19 22:22:30 +0000 |
commit | 215524bfcc978067523cbe7a932dda117b39dba3 (patch) | |
tree | 2d5b30c18f9a4c1e86f5acb85809aca47428aa51 | |
parent | 83fbc8c360d9db0b7b72c63496862aa937a6ac55 (diff) | |
download | xine-lib-215524bfcc978067523cbe7a932dda117b39dba3.tar.gz xine-lib-215524bfcc978067523cbe7a932dda117b39dba3.tar.bz2 |
Fix 'XIO: fatal IO error 9 (Bad file descriptor) on X server ":0.0"'
(caused by closing file descriptor 0, which was uninitialized cda->fd)
CVS patchset: 2094
CVS date: 2002/06/19 22:22:30
-rw-r--r-- | src/input/input_cda.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/input_cda.c b/src/input/input_cda.c index 89d9dd478..ccf9cd9f5 100644 --- a/src/input/input_cda.c +++ b/src/input/input_cda.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_cda.c,v 1.26 2002/06/17 21:17:32 f1rmb Exp $ + * $Id: input_cda.c,v 1.27 2002/06/19 22:22:30 esnel Exp $ */ #ifdef HAVE_CONFIG_H @@ -1836,6 +1836,7 @@ input_plugin_t *init_input_plugin (int iface, xine_t *xine) { this->cda->xine = xine; this->cda->cur_track = -1; this->cda->cur_pos = -1; + this->cda->fd = -1; this->cda->device_name = config->register_string(config, "input.cda_device", CDROM, _("path to your local cd audio device file"), |