Commit 093059ff authored by Jean-Paul Saman's avatar Jean-Paul Saman

Sync with latest live555 source code.

parent 44dd0b86
......@@ -1226,7 +1226,7 @@ live555-$(LIVEDOTCOM_VERSION).tar.gz:
live: live555-$(LIVEDOTCOM_VERSION).tar.gz
$(EXTRACT_GZ)
patch -p0 < Patches/live.patch
# patch -p0 < Patches/live.patch
ifdef HAVE_WIN32
patch -p0 < Patches/livedotcom-win32.patch
endif
......
......@@ -104,9 +104,9 @@ diff -ruN live.orig/liveMedia/RTSPClient.cpp live/liveMedia/RTSPClient.cpp
+Boolean RTSPClient::parseRangeHeader(char const* line, float& start, float& end) {
+ if (_strncasecmp(line, "Range: ", 7) != 0) return False;
+ line += 7;
+
+ /* "npt=start-" is also valid */
+ return radix_safe_sscanf(line, "npt = %f - %f", &start, &end) >= 1;
+ Locale("C", LC_NUMERIC);
+ return (sscanf(line, "npt = %f - %f", &start, &end) >= 1);
+}
+
Boolean RTSPClient::parseGetParameterHeader(char const* line,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment