diff options
author | Stefan Holst <holstsn@users.sourceforge.net> | 2006-02-01 18:55:29 +0000 |
---|---|---|
committer | Stefan Holst <holstsn@users.sourceforge.net> | 2006-02-01 18:55:29 +0000 |
commit | 1b617775b4285d96f2eac4c6da7d12a93168b0b5 (patch) | |
tree | eff4f78497e7edb39094b5e79cd3a7013c7b5c2b | |
parent | 6150d7ac3256f0ce0fa2dcca67187c2654b12aa6 (diff) | |
download | xine-lib-1b617775b4285d96f2eac4c6da7d12a93168b0b5.tar.gz xine-lib-1b617775b4285d96f2eac4c6da7d12a93168b0b5.tar.bz2 |
bugfix: prevent input_cdda from closing file descriptors like stdin while using autoplay feature
CVS patchset: 7861
CVS date: 2006/02/01 18:55:29
-rw-r--r-- | src/input/input_cdda.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index b28ec201d..6203f6eb8 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.81 2005/11/28 12:24:57 valtri Exp $ + * $Id: input_cdda.c,v 1.82 2006/02/01 18:55:29 holstsn Exp $ */ #ifdef HAVE_CONFIG_H @@ -2462,6 +2462,8 @@ static char ** cdda_class_get_autoplay_list (input_class_t *this_gen, * let's create a dummy instance in such a condition */ ip = (cdda_input_plugin_t *)xine_xmalloc(sizeof(cdda_input_plugin_t)); ip->stream = NULL; + ip->fd = -1; + ip->net_fd = -1; } #ifndef WIN32 |