1
0
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:
Moritz Grimm 2015-01-03 00:08:12 +01:00
parent ddb322499f
commit f04c395106

View File

@ -982,7 +982,7 @@ streamFile(shout_t *shout, const char *fileName)
if (popenFlag)
pclose(filepstream);
else
else if (!isStdin)
fclose(filepstream);
if (songLenStr != NULL)