Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e592b87a
Commit
e592b87a
authored
Nov 03, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
liveHTTP: fix signedness warnings
parent
7e115e80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/access_output/livehttp.c
modules/access_output/livehttp.c
+2
-2
No files found.
modules/access_output/livehttp.c
View file @
e592b87a
...
...
@@ -500,7 +500,7 @@ static void destroySegment( output_segment_t *segment )
static
uint32_t
segmentAmountNeeded
(
sout_access_out_sys_t
*
p_sys
)
{
float
duration
=
.
0
f
;
for
(
unsigned
index
=
1
;
index
<=
vlc_array_count
(
p_sys
->
segments_t
)
;
index
++
)
for
(
unsigned
index
=
1
;
(
int
)
index
<=
vlc_array_count
(
p_sys
->
segments_t
)
;
index
++
)
{
output_segment_t
*
segment
=
vlc_array_item_at_index
(
p_sys
->
segments_t
,
vlc_array_count
(
p_sys
->
segments_t
)
-
index
);
duration
+=
segment
->
f_seglength
;
...
...
@@ -525,7 +525,7 @@ static bool isFirstItemRemovable( sout_access_out_sys_t *p_sys, uint32_t i_first
/* Check that segment has been out of playlist for seglenght + (p_sys->i_numsegs * p_sys->i_seglen) amount
* We check this by calculating duration of the items that replaced first item in playlist
*/
for
(
int
index
=
0
;
index
<
i_index_offset
;
index
++
)
for
(
unsigned
int
index
=
0
;
index
<
i_index_offset
;
index
++
)
{
output_segment_t
*
segment
=
vlc_array_item_at_index
(
p_sys
->
segments_t
,
p_sys
->
i_segment
-
i_firstseg
+
index
);
duration
+=
segment
->
f_seglength
;
...
...
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