From: Stefan H. <ho...@us...> - 2006-02-01 18:55:38
|
Update of /cvsroot/xine/xine-lib/src/input In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24893 Modified Files: input_cdda.c Log Message: bugfix: prevent input_cdda from closing file descriptors like stdin while using autoplay feature Index: input_cdda.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_cdda.c,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- input_cdda.c 28 Nov 2005 12:24:57 -0000 1.81 +++ input_cdda.c 1 Feb 2006 18:55:29 -0000 1.82 @@ -2462,6 +2462,8 @@ * 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 |