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
68f2cd16
Commit
68f2cd16
authored
Jan 31, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate correct originating address in SAP header
in case of IPv4 advertisement on a IPv6-enabled OS
parent
0950551c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/stream_output/sap.c
src/stream_output/sap.c
+1
-2
No files found.
src/stream_output/sap.c
View file @
68f2cd16
...
@@ -443,13 +443,12 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
...
@@ -443,13 +443,12 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
psz_head
+
4
);
psz_head
+
4
);
}
}
else
else
#e
lse
#e
ndif
{
{
inet_pton
(
AF_INET
,
/* can't fail */
inet_pton
(
AF_INET
,
/* can't fail */
p_sap_session
->
p_address
->
psz_machine
,
p_sap_session
->
p_address
->
psz_machine
,
psz_head
+
4
);
psz_head
+
4
);
}
}
#endif
memcpy
(
psz_head
+
(
b_ipv6
?
20
:
8
),
"application/sdp"
,
15
);
memcpy
(
psz_head
+
(
b_ipv6
?
20
:
8
),
"application/sdp"
,
15
);
...
...
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