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
65169549
Commit
65169549
authored
Mar 12, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter: smooth: fix negative array access
cid #1048853
parent
8c2e47c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/stream_filter/smooth/downloader.c
modules/stream_filter/smooth/downloader.c
+5
-0
No files found.
modules/stream_filter/smooth/downloader.c
View file @
65169549
...
@@ -378,6 +378,11 @@ static int Download( stream_t *s, sms_stream_t *sms )
...
@@ -378,6 +378,11 @@ static int Download( stream_t *s, sms_stream_t *sms )
stream_sys_t
*
p_sys
=
s
->
p_sys
;
stream_sys_t
*
p_sys
=
s
->
p_sys
;
int
index
=
es_cat_to_index
(
sms
->
type
);
int
index
=
es_cat_to_index
(
sms
->
type
);
if
(
unlikely
(
index
==
-
1
)
)
{
msg_Err
(
s
,
"invalid stream type"
);
return
VLC_EGENERIC
;
}
int64_t
start_time
=
p_sys
->
download
.
lead
[
index
];
int64_t
start_time
=
p_sys
->
download
.
lead
[
index
];
quality_level_t
*
qlevel
=
get_qlevel
(
sms
,
sms
->
download_qlvl
);
quality_level_t
*
qlevel
=
get_qlevel
(
sms
,
sms
->
download_qlvl
);
...
...
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