openbsd-ports/net/livemedia/patches/patch-liveMedia_RTSPClient_cpp
landry 26ae665e85 Update to liveMedia-20090407, from brad.
Untested by pyr@ and gilles@ who slacked too much.
2009-04-15 08:22:11 +00:00

16 lines
743 B
Plaintext

$OpenBSD: patch-liveMedia_RTSPClient_cpp,v 1.2 2009/04/15 08:22:12 landry Exp $
Fixes tv-over-ip with my isp (free.fr) using vlc.
--- liveMedia/RTSPClient.cpp.orig Mon Apr 6 22:19:00 2009
+++ liveMedia/RTSPClient.cpp Thu Apr 9 23:27:06 2009
@@ -2136,9 +2136,7 @@ unsigned RTSPClient::getResponse1(char*& responseBuffe
Boolean success = False;
while (1) {
unsigned char firstByte;
- struct timeval timeout;
- timeout.tv_sec = 30; timeout.tv_usec = 0;
- if (readSocket(envir(), fInputSocketNum, &firstByte, 1, fromAddress, &timeout)
+ if (readSocket(envir(), fInputSocketNum, &firstByte, 1, fromAddress)
!= 1) break;
if (firstByte != '$') {
// Normal case: This is the start of a regular response; use it: