diff --git a/Buffer/main.cpp b/Buffer/main.cpp index 992e9f17..ae03edd4 100644 --- a/Buffer/main.cpp +++ b/Buffer/main.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include "../util/dtsc.h" //DTSC support #include "../util/socket.h" //Socket lib #include "../util/json/json.h" @@ -193,7 +194,7 @@ namespace Buffer{ Storage["totals"] = Json::Value(Json::objectValue); - while((!feof(stdin) || ip_waiting) && !FLV::Parse_Error){ + while (!feof(stdin) || ip_waiting){ usleep(1000); //sleep for 1 ms, to prevent 100% CPU time unsigned int now = time(0); if (now != stattimer){