mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
Do not close stdin on EOS
From gquintard via ticket #2045: "Not sending data to stdin can throw ezstream into an infinite loop"
This commit is contained in:
parent
ddb322499f
commit
f04c395106
@ -982,7 +982,7 @@ streamFile(shout_t *shout, const char *fileName)
|
||||
|
||||
if (popenFlag)
|
||||
pclose(filepstream);
|
||||
else
|
||||
else if (!isStdin)
|
||||
fclose(filepstream);
|
||||
|
||||
if (songLenStr != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user