mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
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
This commit is contained in:
parent
1f614e6486
commit
fa310e948b
@ -561,6 +561,8 @@ openResource(shout_t *shout, const char *fileName, int *popenFlag,
|
|||||||
|
|
||||||
if (mdata_p != NULL)
|
if (mdata_p != NULL)
|
||||||
*mdata_p = NULL;
|
*mdata_p = NULL;
|
||||||
|
if (songLen != NULL)
|
||||||
|
*songLen = 0;
|
||||||
|
|
||||||
if (strcmp(fileName, "stdin") == 0) {
|
if (strcmp(fileName, "stdin") == 0) {
|
||||||
if (metadataFromProgram) {
|
if (metadataFromProgram) {
|
||||||
|
Loading…
Reference in New Issue
Block a user