[xiph-commits] r13998 - trunk/ezstream/src

moritz at svn.xiph.org moritz at svn.xiph.org
Tue Oct 16 07:46:37 PDT 2007


Author: moritz
Date: 2007-10-16 07:46:37 -0700 (Tue, 16 Oct 2007)
New Revision: 13998

Modified:
   trunk/ezstream/src/ezstream.c
Log:
Fix use of yet another uninitialized-if-streaming-from-stdin variable. This
prevents bogus output in the "real-time" status line.


Modified: trunk/ezstream/src/ezstream.c
===================================================================
--- trunk/ezstream/src/ezstream.c	2007-10-16 14:44:42 UTC (rev 13997)
+++ trunk/ezstream/src/ezstream.c	2007-10-16 14:46:37 UTC (rev 13998)
@@ -561,6 +561,8 @@
 
 	if (mdata_p != NULL)
 		*mdata_p = NULL;
+	if (songLen != NULL)
+		*songLen = 0;
 
 	if (strcmp(fileName, "stdin") == 0) {
 		if (metadataFromProgram) {



More information about the commits mailing list