Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ca9d63db
Commit
ca9d63db
authored
Jun 16, 2003
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* SAP can now handle SAP-announced IPv6 streams
parent
e08927e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
modules/misc/sap.c
modules/misc/sap.c
+7
-6
No files found.
modules/misc/sap.c
View file @
ca9d63db
...
...
@@ -2,7 +2,7 @@
* sap.c : SAP interface module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: sap.c,v 1.1
1 2003/05/25 18:02:20 nitrox
Exp $
* $Id: sap.c,v 1.1
2 2003/06/16 15:39:11 zorglub
Exp $
*
* Authors: Arnaud Schauly <gitan@via.ecp.fr>
*
...
...
@@ -668,7 +668,7 @@ static void free_sd( sess_descr_t * p_sd )
}
/***********************************************************************
* ismult
* ismult
: returns true if we have a multicast address
***********************************************************************/
static
int
ismult
(
char
*
psz_uri
)
...
...
@@ -678,10 +678,11 @@ static int ismult( char *psz_uri )
i_value
=
strtol
(
psz_uri
,
&
psz_end
,
0
);
if
(
*
psz_end
!=
'.'
)
{
return
(
VLC_FALSE
);
}
/* FIXME: This is an ugly way to detect IPv6 and to say that this is
multicast */
if
(
psz_uri
[
0
]
==
'['
)
{
return
(
VLC_TRUE
);
}
if
(
*
psz_end
!=
'.'
)
{
return
(
VLC_FALSE
);
}
return
(
i_value
<
224
?
VLC_FALSE
:
VLC_TRUE
);
}
...
...
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