[xiph-cvs] cvs commit: ices/src input.c

Michael Smith msmith at xiph.org
Sun Oct 14 08:12:53 PDT 2001



msmith      01/10/14 08:12:53

  Modified:    src      input.c
  Log:
  Fix another crash bug possible from malformed config files.

Revision  Changes    Path
1.7       +2 -2      ices/src/input.c

Index: input.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/input.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- input.c	2001/10/14 15:03:38	1.6
+++ input.c	2001/10/14 15:12:53	1.7
@@ -2,7 +2,7 @@
  *  - Main producer control loop. Fetches data from input modules, and controls
  *    submission of these to the instance threads. Timing control happens here.
  *
- * $Id: input.c,v 1.6 2001/10/14 15:03:38 msmith Exp $
+ * $Id: input.c,v 1.7 2001/10/14 15:12:53 msmith Exp $
  * 
  * Copyright (c) 2001 Michael Smith <msmith at labyrinth.net.au>
  *
@@ -203,7 +203,7 @@
         int shutdown = 0;
         int current_module = 0;
 
-	while(modules[current_module].open)
+	while(ices_config->playlist_module && modules[current_module].open)
         {
                 if(!strcmp(ices_config->playlist_module, modules[current_module].name))
                 {

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list