Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
a72f50ea
Commit
a72f50ea
authored
Feb 11, 2007
by
Rémi Denis-Courmont
Browse files
Fix for insane naming convention
parent
853e6cc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stream_out/standard.c
View file @
a72f50ea
...
...
@@ -349,18 +349,19 @@ static int Open( vlc_object_t *p_this )
static
const
struct
{
const
char
*
access
;
const
char
*
fmt
;
}
fmts
[]
=
{
/* TLS/DTLS variants (none implemented): */
{
"dtlslite"
,
"UDPLite/TLS/RTP/AVP %d"
},
{
"dtls"
,
"UDP/TLS/RTP/AVP %d"
},
{
"dccps"
,
"DCCP/TLS/RTP/AVP %d"
},
{
"tls"
,
"TCP/TLS/RTP/AVP %d"
},
/* Plain text: */
{
"udplite"
,
"UDPLite/RTP/AVP %d"
},
{
"udp"
,
"udp mpeg"
},
{
"rtp"
,
"RTP/AVP %d"
},
{
"udplite"
,
"UDPLite/RTP/AVP %d"
},
/* Currently unsupported access outputs: */
{
"dccp"
,
"DCCP/RTP/AVP %d"
},
{
"tcp"
,
"TCP/RTP/AVP %d"
},
/* TLS/DTLS variants (none implemented). */
{
"dtls"
,
"UDP/TLS/RTP/AVP %d"
},
{
"dtlslite"
,
"UDPLite/TLS/RTP/AVP %d"
},
{
"dccps"
,
"DCCP/TLS/RTP/AVP %d"
},
{
"tls"
,
"TCP/TLS/RTP/AVP %d"
},
/* SRTP (not implemented) */
/* SRTP (none implemented): */
{
"srtp"
,
"RTP/SAVP %d"
},
{
"sudplite"
,
"UDPLite/RTP/SAVP %d"
},
{
"sdccp"
,
"DCCP/RTP/SAVP %d"
},
...
...
@@ -372,7 +373,7 @@ static int Open( vlc_object_t *p_this )
int
sport
,
dport
;
for
(
unsigned
i
=
0
;
fmts
[
i
].
access
!=
NULL
;
i
++
)
if
(
strcasecmp
(
fmts
[
i
].
access
,
psz_access
)
==
0
)
if
(
str
n
casecmp
(
fmts
[
i
].
access
,
psz_access
,
strlen
(
fmts
[
i
].
access
)
)
==
0
)
{
psz_sdp_fmt
=
fmts
[
i
].
fmt
;
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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