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
d0b4e06a
Commit
d0b4e06a
authored
May 30, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix character/integer confusion - CID 11
parent
39ed0e0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+2
-2
No files found.
modules/stream_out/rtp.c
View file @
d0b4e06a
...
...
@@ -525,7 +525,7 @@ static int Open( vlc_object_t *p_this )
a= source-filter: we need our source address
a= x-plgroup: (missing)
RTP packets need to get the correct src IP address */
if
(
(
ipv
==
4
)
if
(
(
ipv
==
'4'
)
&&
net_AddressIsMulticast
(
(
vlc_object_t
*
)
p_stream
,
p_sys
->
psz_destination
)
)
{
snprintf
(
psz_ttl
,
sizeof
(
psz_ttl
),
"/%d"
,
p_sys
->
i_ttl
);
...
...
@@ -843,7 +843,7 @@ static char *SDPGenerate( const sout_stream_t *p_stream,
p
+=
sprintf
(
p
,
"c=IN IP%c %s"
,
ipv
,
psz_destination
);
if
(
(
ipv
==
4
)
if
(
(
ipv
==
'4'
)
&&
net_AddressIsMulticast
(
(
vlc_object_t
*
)
p_stream
,
psz_destination
)
)
{
/* Add the deprecated TTL field if it is an IPv4 multicast address */
...
...
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