Fix voor xinetd problemen?

This commit is contained in:
Thulinma 2010-11-04 22:08:33 +01:00
parent 309f727f62
commit ceeef9b29e
4 changed files with 4 additions and 6 deletions

View file

@ -47,7 +47,7 @@ int main( int argc, char * argv[] ) {
unsigned char packtype;
bool gotVideoInfo = false;
bool gotAudioInfo = false;
while(std::cin.good()) {
while(std::cin.good() && std::cout.good()) {
loopcount ++;
//invalidate the current buffer
ringbuf[current_buffer]->number = -1;