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
1687209f
Commit
1687209f
authored
Oct 03, 2002
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed known bug in rtp plugin which resulted in superflous error messages.
parent
e0c8e060
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/access/rtp.c
modules/access/rtp.c
+3
-3
No files found.
modules/access/rtp.c
View file @
1687209f
...
...
@@ -2,7 +2,7 @@
* rtp.c: RTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: rtp.c,v 1.
2 2002/09/30 11:05:34 sam
Exp $
* $Id: rtp.c,v 1.
3 2002/10/03 20:49:31 jpsaman
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -291,14 +291,14 @@ static int RTPNetworkRead( input_thread_t * p_input, byte_t * p_buffer,
is supported"
,
i_payload_type
);
// If both bytes are wrong, maybe a synchro error occurred...
if
((
i_rtp_version
!=
2
)
&&
(
i_payload_type
!=
0x
33
))
if
((
i_rtp_version
!=
2
)
&&
(
i_payload_type
!=
33
))
{
msg_Dbg
(
p_input
,
"Too many RTP errors, trying to re-synchronize"
);
//Trying to re-synchronize
for
(
i
=
0
;
(
i
<
i_len
)
||
(((
p_tmp_buffer
[
0
]
&
0xC0
)
>>
6
==
2
)
&&
(
p_tmp_buffer
[
1
]
&
0x7F
)
>>
6
==
0x
33
)
;
i
++
);
&&
(
p_tmp_buffer
[
1
]
&
0x7F
)
==
33
)
;
i
++
);
if
(
i
!=
i_len
)
{
...
...
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