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
85f92c8f
Commit
85f92c8f
authored
Nov 25, 2013
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ogg: fix type conversion (cid #1125392 and #1125393)
parent
aacb2a82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/mux/ogg.c
modules/mux/ogg.c
+2
-2
No files found.
modules/mux/ogg.c
View file @
85f92c8f
...
@@ -620,7 +620,7 @@ static bool AddIndexEntry( sout_mux_t *p_mux, uint64_t i_time, sout_input_t *p_i
...
@@ -620,7 +620,7 @@ static bool AddIndexEntry( sout_mux_t *p_mux, uint64_t i_time, sout_input_t *p_i
i_posdelta
=
p_sys
->
i_pos
-
p_stream
->
skeleton
.
i_last_keyframe_pos
;
i_posdelta
=
p_sys
->
i_pos
-
p_stream
->
skeleton
.
i_last_keyframe_pos
;
i_timedelta
=
i_time
-
p_stream
->
skeleton
.
i_last_keyframe_time
;
i_timedelta
=
i_time
-
p_stream
->
skeleton
.
i_last_keyframe_time
;
if
(
i_timedelta
<=
(
(
u
nsigned
in
t
)
p_mux
->
p_sys
->
skeleton
.
i_index_intvl
*
1000
)
if
(
i_timedelta
<=
(
(
u
int64_
t
)
p_mux
->
p_sys
->
skeleton
.
i_index_intvl
*
1000
)
||
i_posdelta
<=
0xFFFF
)
||
i_posdelta
<=
0xFFFF
)
return
false
;
return
false
;
...
@@ -1356,7 +1356,7 @@ static bool AllocateIndex( sout_mux_t *p_mux, sout_input_t *p_input )
...
@@ -1356,7 +1356,7 @@ static bool AllocateIndex( sout_mux_t *p_mux, sout_input_t *p_input )
if
(
p_stream
->
i_length
)
if
(
p_stream
->
i_length
)
{
{
uint64_t
i_interval
=
p_mux
->
p_sys
->
skeleton
.
i_index_intvl
*
1000
;
uint64_t
i_interval
=
(
uint64_t
)
p_mux
->
p_sys
->
skeleton
.
i_index_intvl
*
1000
;
uint64_t
i
;
uint64_t
i
;
if
(
p_input
->
p_fmt
->
i_cat
==
VIDEO_ES
&&
if
(
p_input
->
p_fmt
->
i_cat
==
VIDEO_ES
&&
...
...
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