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
51785680
Commit
51785680
authored
Nov 25, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: asf: fix overflow in seek
parent
9baab2bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+1
-1
No files found.
modules/demux/asf/asf.c
View file @
51785680
...
...
@@ -264,7 +264,7 @@ static int SeekIndex( demux_t *p_demux, mtime_t i_date, float f_pos )
uint64_t
i_offset
=
(
uint64_t
)
p_index
->
index_entry
[
i_entry
].
i_packet_number
*
p_sys
->
p_fp
->
i_min_data_packet_size
;
if
(
stream_Seek
(
p_demux
->
s
,
p_sys
->
i_data_begin
+
i_offset
)
==
VLC_SUCCESS
)
if
(
stream_Seek
(
p_demux
->
s
,
i_offset
+
p_sys
->
i_data_begin
)
==
VLC_SUCCESS
)
{
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_NEXT_DISPLAY_TIME
,
VLC_TS_0
+
i_date
);
return
VLC_SUCCESS
;
...
...
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