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
f2466501
Commit
f2466501
authored
Aug 21, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smooth: remove antilogy
parent
dfd9fc1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
modules/stream_filter/smooth/downloader.c
modules/stream_filter/smooth/downloader.c
+3
-15
No files found.
modules/stream_filter/smooth/downloader.c
View file @
f2466501
...
...
@@ -424,24 +424,12 @@ build_init_chunk_error:
static
int
Download
(
stream_t
*
s
,
sms_stream_t
*
sms
)
{
stream_sys_t
*
p_sys
=
s
->
p_sys
;
chunk_t
*
chunk
=
sms
->
p_nextdownload
;
assert
(
sms
->
p_nextdownload
);
assert
(
sms
->
p_nextdownload
->
data
==
NULL
);
assert
(
chunk
!=
NULL
);
assert
(
chunk
->
data
==
NULL
);
assert
(
sms
->
current_qlvl
);
chunk_t
*
chunk
=
sms
->
p_nextdownload
;
if
(
!
chunk
)
{
msg_Warn
(
s
,
"Could not find a chunk for stream %s"
,
sms
->
name
);
return
VLC_EGENERIC
;
}
if
(
chunk
->
data
!=
NULL
)
{
/* Segment already downloaded */
msg_Warn
(
s
,
"Segment already downloaded"
);
return
VLC_SUCCESS
;
}
chunk
->
type
=
sms
->
type
;
char
*
url
=
ConstructUrl
(
sms
->
url_template
,
p_sys
->
download
.
base_url
,
...
...
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