Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a7794253
Commit
a7794253
authored
Nov 07, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* more tolerant sdp check when using rtsp://. (SDP from some DSS have a
lot of mandatory fields missing, like v, o, and s)
parent
1250236d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+6
-2
No files found.
modules/demux/livedotcom.cpp
View file @
a7794253
...
...
@@ -2,7 +2,7 @@
* live.cpp : live.com support.
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: livedotcom.cpp,v 1.
1 2003/11/06 22:14:57
fenrir Exp $
* $Id: livedotcom.cpp,v 1.
2 2003/11/07 00:28:58
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -196,6 +196,8 @@ static int AccessOpen( vlc_object_t *p_this )
p_input
->
pf_set_area
=
NULL
;
p_input
->
p_private
=
NULL
;
p_input
->
psz_demux
=
"live"
;
/* Finished to set some variable */
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
/* FIXME that's not true but eg over tcp, server send data too fast */
...
...
@@ -266,7 +268,9 @@ static int DemuxOpen ( vlc_object_t *p_this )
msg_Err
(
p_input
,
"cannot peek"
);
return
VLC_EGENERIC
;
}
if
(
strncmp
(
(
char
*
)
p_peek
,
"v=0
\r\n
"
,
5
)
&&
strncmp
(
(
char
*
)
p_peek
,
"v=0
\n
"
,
4
)
)
if
(
strncmp
(
(
char
*
)
p_peek
,
"v=0
\r\n
"
,
5
)
&&
strncmp
(
(
char
*
)
p_peek
,
"v=0
\n
"
,
4
)
&&
(
p_input
->
psz_access
==
NULL
||
strcasecmp
(
p_input
->
psz_access
,
"rtsp"
)
||
p_peek
[
0
]
<
'a'
||
p_peek
[
0
]
>
'z'
||
p_peek
[
1
]
!=
'='
)
)
{
msg_Warn
(
p_input
,
"SDP module discarded"
);
return
VLC_EGENERIC
;
...
...
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