From fa310e948bbea0179180930faba6d3b56ad15517 Mon Sep 17 00:00:00 2001 From: moritz Date: Tue, 16 Oct 2007 14:46:37 +0000 Subject: [PATCH] Fix use of yet another uninitialized-if-streaming-from-stdin variable. This prevents bogus output in the "real-time" status line. git-svn-id: https://svn.xiph.org/trunk/ezstream@13998 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/ezstream.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ezstream.c b/src/ezstream.c index 922e188..43eb60e 100644 --- a/src/ezstream.c +++ b/src/ezstream.c @@ -561,6 +561,8 @@ openResource(shout_t *shout, const char *fileName, int *popenFlag, if (mdata_p != NULL) *mdata_p = NULL; + if (songLen != NULL) + *songLen = 0; if (strcmp(fileName, "stdin") == 0) { if (metadataFromProgram) {