Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
093059ff
Commit
093059ff
authored
Dec 27, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync with latest live555 source code.
parent
44dd0b86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-1
extras/contrib/src/Patches/live-starttime.patch
extras/contrib/src/Patches/live-starttime.patch
+2
-2
No files found.
extras/contrib/src/Makefile
View file @
093059ff
...
@@ -1226,7 +1226,7 @@ live555-$(LIVEDOTCOM_VERSION).tar.gz:
...
@@ -1226,7 +1226,7 @@ live555-$(LIVEDOTCOM_VERSION).tar.gz:
live
:
live555-$(LIVEDOTCOM_VERSION).tar.gz
live
:
live555-$(LIVEDOTCOM_VERSION).tar.gz
$(EXTRACT_GZ)
$(EXTRACT_GZ)
patch
-p0
< Patches/live.patch
#
patch -p0 < Patches/live.patch
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
patch
-p0
<
Patches/livedotcom-win32.patch
patch
-p0
<
Patches/livedotcom-win32.patch
endif
endif
...
...
extras/contrib/src/Patches/live-starttime.patch
View file @
093059ff
...
@@ -104,9 +104,9 @@ diff -ruN live.orig/liveMedia/RTSPClient.cpp live/liveMedia/RTSPClient.cpp
...
@@ -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) {
+Boolean RTSPClient::parseRangeHeader(char const* line, float& start, float& end) {
+ if (_strncasecmp(line, "Range: ", 7) != 0) return False;
+ if (_strncasecmp(line, "Range: ", 7) != 0) return False;
+ line += 7;
+ line += 7;
+
+ /* "npt=start-" is also valid */
+ /* "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,
Boolean RTSPClient::parseGetParameterHeader(char const* line,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment