From 5f927fca799e55e1ea343bfc062ef79ba59af4d7 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 4 Nov 2010 23:49:40 +0100 Subject: [PATCH] NOG meer fix --- Connector_RTMP/chunkstream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connector_RTMP/chunkstream.cpp b/Connector_RTMP/chunkstream.cpp index 3efc8d39..1c2056e6 100644 --- a/Connector_RTMP/chunkstream.cpp +++ b/Connector_RTMP/chunkstream.cpp @@ -492,7 +492,7 @@ chunkpack getWholeChunk(){ free(ret);//cleanup returned chunk return gwc_complete; } - if (!std::cin.good()){ + if (feof(stdin)){ gwc_complete.msg_type_id = 0; return gwc_complete; }