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
4b4eeb11
Commit
4b4eeb11
authored
Mar 08, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ordering of CSRC and RTP profile extension
parent
36bb24ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/access/udp.c
modules/access/udp.c
+4
-4
No files found.
modules/access/udp.c
View file @
4b4eeb11
...
...
@@ -554,17 +554,17 @@ static block_t *BlockParseRTP( access_t *p_access, block_t *p_block )
// Padding bit:
uint8_t
pad
=
(
p_block
->
p_buffer
[
0
]
&
0x20
)
?
p_block
->
p_buffer
[
p_block
->
i_buffer
-
1
]
:
0
;
// CSRC count:
i_skip
+=
(
p_block
->
p_buffer
[
0
]
&
0x0F
)
*
4
;
// Extension header:
if
(
(
p_block
->
p_buffer
[
0
]
&
0x10
)
)
/* Extension header */
if
(
p_block
->
p_buffer
[
0
]
&
0x10
)
/* Extension header */
{
i_skip
+=
4
;
if
((
size_t
)
p_block
->
i_buffer
<
i_skip
)
goto
trash
;
i_skip
+=
4
*
GetWBE
(
p_block
->
p_buffer
+
14
);
i_skip
+=
4
*
GetWBE
(
p_block
->
p_buffer
+
i_skip
+
2
);
}
// CSRC count:
i_skip
+=
(
p_block
->
p_buffer
[
0
]
&
0x0F
)
*
4
;
i_payload_type
=
p_block
->
p_buffer
[
1
]
&
0x7F
;
...
...
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