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
906a3bfe
Commit
906a3bfe
authored
Mar 05, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fix obvious crash in TCP/RTP/AVP
- Remove an useless variable
parent
54b1dfae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/access/udp.c
modules/access/udp.c
+2
-3
No files found.
modules/access/udp.c
View file @
906a3bfe
...
...
@@ -236,7 +236,7 @@ static int Open( vlc_object_t *p_this )
break
;
case
IPPROTO_TCP
:
p_sys
=
net_ConnectTCP
(
p_access
,
psz_server_addr
,
i_server_port
);
p_sys
->
fd
=
net_ConnectTCP
(
p_access
,
psz_server_addr
,
i_server_port
);
p_sys
->
b_framed_rtp
=
VLC_TRUE
;
break
;
...
...
@@ -721,8 +721,7 @@ static block_t *BlockChoose( access_t *p_access )
/* Parse the header and make some verifications.
* See RFC 3550. */
i_rtp_version
=
(
p_block
->
p_buffer
[
0
]
&
0xC0
)
>>
6
;
i_CSRC_count
=
(
p_block
->
p_buffer
[
0
]
&
0x0F
);
i_rtp_version
=
p_block
->
p_buffer
[
0
]
>>
6
;
i_payload_type
=
(
p_block
->
p_buffer
[
1
]
&
0x7F
);
if
(
i_rtp_version
!=
2
)
...
...
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