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
600ceaf9
Commit
600ceaf9
authored
Nov 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTMP: small cleanup
parent
7760fe37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/access/rtmp/rtmp_amf_flv.c
modules/access/rtmp/rtmp_amf_flv.c
+2
-2
No files found.
modules/access/rtmp/rtmp_amf_flv.c
View file @
600ceaf9
...
...
@@ -894,7 +894,7 @@ rtmp_read_net_packet( rtmp_control_thread_t *p_thread )
if
(
i_ret
!=
1
)
goto
error
;
length_header
=
rtmp_decode_header_size
(
(
vlc_object_t
*
)
p_thread
,
length_header
=
rtmp_decode_header_size
(
VLC_OBJECT
(
p_thread
)
,
p_read
[
0
]
&
RTMP_HEADER_SIZE_MASK
);
stream_index
=
p_read
[
0
]
&
RTMP_HEADER_STREAM_INDEX_MASK
;
header
=
p_thread
->
rtmp_headers_recv
+
stream_index
;
...
...
@@ -956,7 +956,7 @@ rtmp_read_net_packet( rtmp_control_thread_t *p_thread )
if
(
header
->
length_body
==
header
->
body
->
length_body
)
{
rtmp_packet_t
*
rpkt
=
(
rtmp_packet_t
*
)
malloc
(
sizeof
(
rtmp_packet_t
));
if
(
!
rpkt
)
goto
error
;
if
(
!
rpkt
)
return
NULL
;
rpkt
->
stream_index
=
stream_index
;
rpkt
->
timestamp
=
header
->
timestamp
;
...
...
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