[xiph-cvs] cvs commit: ices/src input.c
Michael Smith
msmith at xiph.org
Sun Oct 14 08:03:39 PDT 2001
msmith 01/10/14 08:03:38
Modified: src input.c
Log:
Initialise variable to avoid crash on unknown module.
Revision Changes Path
1.6 +2 -2 ices/src/input.c
Index: input.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/input.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- input.c 2001/09/25 12:13:37 1.5
+++ input.c 2001/10/14 15:03:38 1.6
@@ -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.5 2001/09/25 12:13:37 msmith Exp $
+ * $Id: input.c,v 1.6 2001/10/14 15:03:38 msmith Exp $
*
* Copyright (c) 2001 Michael Smith <msmith at labyrinth.net.au>
*
@@ -196,7 +196,7 @@
void input_loop(void)
{
- input_module_t *inmod;
+ input_module_t *inmod=NULL;
timing_control *control = calloc(1, sizeof(timing_control));
instance_t *instance, *prev, *next;
queue_item *queued;
--- >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