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
b17e7f5a
Commit
b17e7f5a
authored
Jan 11, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTP: allow receiving RTP on odd ports for compatibility
parent
c8c84505
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
NEWS
NEWS
+4
-0
modules/demux/rtp.c
modules/demux/rtp.c
+5
-4
No files found.
NEWS
View file @
b17e7f5a
...
...
@@ -8,6 +8,10 @@ Mac OS X Interface:
New Localizations:
* Indonesian
Various bugfixes:
* Support for receiving RTP packets on odd port numbers.
* Lots of small bugfixes.
Changes between 0.9.6 and 0.9.8a:
---------------------------------
...
...
modules/demux/rtp.c
View file @
b17e7f5a
...
...
@@ -182,12 +182,13 @@ static int Open (vlc_object_t *obj)
{
case
IPPROTO_UDP
:
case
IPPROTO_UDPLITE
:
fd
=
net_OpenDgram
(
obj
,
dhost
,
(
dport
+
1
)
&
~
1
,
shost
,
(
sport
+
1
)
&
~
1
,
AF_UNSPEC
,
tp
);
fd
=
net_OpenDgram
(
obj
,
dhost
,
dport
,
shost
,
sport
,
AF_UNSPEC
,
tp
);
if
(
fd
==
-
1
)
break
;
rtcp_fd
=
net_OpenDgram
(
obj
,
dhost
,
dport
|
1
,
shost
,
sport
?
(
sport
|
1
)
:
0
,
AF_UNSPEC
,
tp
);
if
((
dport
&
1
)
==
0
)
rtcp_fd
=
net_OpenDgram
(
obj
,
dhost
,
dport
+
1
,
shost
,
0
,
AF_UNSPEC
,
tp
);
break
;
case
IPPROTO_DCCP
:
...
...
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