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
1ef2e159
Commit
1ef2e159
authored
Jun 04, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http: remove useless vlc_object_alive() calls
The net_* and vlc_tls_* functions will return errors.
parent
e12376a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/access/http.c
modules/access/http.c
+4
-4
No files found.
modules/access/http.c
View file @
1ef2e159
...
...
@@ -416,7 +416,7 @@ connect:
p_sys
->
i_version
=
0
;
p_sys
->
b_seekable
=
false
;
if
(
!
vlc_object_alive
(
p_access
)
||
Connect
(
p_access
,
0
)
)
if
(
Connect
(
p_access
,
0
)
)
goto
error
;
case
0
:
...
...
@@ -750,7 +750,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
p_sys
->
b_continuous
=
true
;
}
Disconnect
(
p_access
);
if
(
p_sys
->
b_reconnect
&&
vlc_object_alive
(
p_access
)
)
if
(
p_sys
->
b_reconnect
)
{
msg_Dbg
(
p_access
,
"got disconnected, trying to reconnect"
);
if
(
Connect
(
p_access
,
p_access
->
info
.
i_pos
)
)
...
...
@@ -1116,7 +1116,7 @@ static int Connect( access_t *p_access, uint64_t i_tell )
free
(
psz
);
if
(
!
vlc_object_alive
(
p_access
)
||
p_sys
->
b_error
)
if
(
p_sys
->
b_error
)
{
Disconnect
(
p_access
);
return
-
1
;
...
...
@@ -1274,7 +1274,7 @@ static int Request( access_t *p_access, uint64_t i_tell )
goto
error
;
}
if
(
!
vlc_object_alive
(
p_access
)
||
p_sys
->
b_error
)
if
(
p_sys
->
b_error
)
{
free
(
psz
);
goto
error
;
...
...
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