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
f05d28d6
Commit
f05d28d6
authored
May 10, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings.
parent
b3cb03fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/access/rtmp/access.c
modules/access/rtmp/access.c
+5
-2
No files found.
modules/access/rtmp/access.c
View file @
f05d28d6
...
@@ -307,7 +307,7 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
...
@@ -307,7 +307,7 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
rtmp_packet_t
*
rtmp_packet
;
rtmp_packet_t
*
rtmp_packet
;
uint8_t
*
tmp_buffer
;
uint8_t
*
tmp_buffer
;
ssize_t
i_ret
;
ssize_t
i_ret
;
in
t
i_len_tmp
;
size_
t
i_len_tmp
;
i_len_tmp
=
0
;
i_len_tmp
=
0
;
...
@@ -368,7 +368,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
...
@@ -368,7 +368,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
i_len_tmp
+=
i_len
-
i_len_tmp
;
i_len_tmp
+=
i_len
-
i_len_tmp
;
}
}
}
}
if
(
i_len_tmp
>
0
)
{
if
(
i_len_tmp
>
0
)
{
if
(
p_sys
->
p_thread
->
result_publish
)
if
(
p_sys
->
p_thread
->
result_publish
)
{
{
/* Send publish onStatus event only once */
/* Send publish onStatus event only once */
...
@@ -424,6 +425,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
...
@@ -424,6 +425,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
*****************************************************************************/
*****************************************************************************/
static
int
Seek
(
access_t
*
p_access
,
int64_t
i_pos
)
static
int
Seek
(
access_t
*
p_access
,
int64_t
i_pos
)
{
{
VLC_UNUSED
(
p_access
);
VLC_UNUSED
(
i_pos
);
/*msg_Warn ( p_access, "Seek to %lld", i_pos);
/*msg_Warn ( p_access, "Seek to %lld", i_pos);
switch( rtmp_seek( p_access, i_pos ) )
switch( rtmp_seek( p_access, i_pos ) )
{
{
...
...
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