I use live555 lib under windows.

I'm sorry :-)


I check source code and found bug in BasicTaskScheduler.cpp
In this file lines from line 73

[...]


must look like this

#if defined(__WIN32__) || defined(_WIN32)
    int err = WSAGetLastError();
    // For some unknown reason, select() in Windoze sometimes fails with
WSAEINVAL if
    // it was called with no entries set in "readSet".  If this happens,
ignore it:
    if (err == WSAEINVAL && readSet.fd_count == 0) {
      err = EINTR; // err SHOULD be EINTR for the further comparision

[...]

Is this right?


Yes, that will work. This issue (which apparently has been existed for several versions now) will be fixed in the next release of the software.
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to