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
c0f61b34
Commit
c0f61b34
authored
Jul 10, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove uneeded VLC_OBJECT().
parent
385750a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
modules/access/http.c
modules/access/http.c
+6
-6
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+2
-2
modules/access/rtsp/access.c
modules/access/rtsp/access.c
+1
-1
No files found.
modules/access/http.c
View file @
c0f61b34
...
...
@@ -715,7 +715,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
if
(
p_sys
->
i_chunk
<=
0
)
{
char
*
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
p_sys
->
p_vs
);
char
*
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
p_sys
->
p_vs
);
/* read the chunk header */
if
(
psz
==
NULL
)
{
...
...
@@ -778,7 +778,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
if
(
p_sys
->
i_chunk
<=
0
)
{
/* read the empty line */
char
*
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
p_sys
->
p_vs
);
char
*
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
p_sys
->
p_vs
);
free
(
psz
);
}
}
...
...
@@ -1103,7 +1103,7 @@ static int Connect( access_t *p_access, int64_t i_tell )
p_sys
->
i_version
,
p_sys
->
url
.
psz_host
,
p_sys
->
url
.
i_port
);
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
NULL
);
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
NULL
);
if
(
psz
==
NULL
)
{
msg_Err
(
p_access
,
"cannot establish HTTP/TLS tunnel"
);
...
...
@@ -1123,7 +1123,7 @@ static int Connect( access_t *p_access, int64_t i_tell )
do
{
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
NULL
);
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
NULL
);
if
(
psz
==
NULL
)
{
msg_Err
(
p_access
,
"HTTP proxy connection failed"
);
...
...
@@ -1264,7 +1264,7 @@ static int Request( access_t *p_access, int64_t i_tell )
}
/* Read Answer */
if
(
(
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
pvs
)
)
==
NULL
)
if
(
(
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
pvs
)
)
==
NULL
)
{
msg_Err
(
p_access
,
"failed to read answer"
);
goto
error
;
...
...
@@ -1312,7 +1312,7 @@ static int Request( access_t *p_access, int64_t i_tell )
for
(
;;
)
{
char
*
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
pvs
);
char
*
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
pvs
);
char
*
p
;
if
(
psz
==
NULL
)
...
...
modules/access/mms/mmsh.c
View file @
c0f61b34
...
...
@@ -588,7 +588,7 @@ static int Describe( access_t *p_access, char **ppsz_location )
}
/* Receive the http header */
if
(
(
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
NULL
)
)
==
NULL
)
if
(
(
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
NULL
)
)
==
NULL
)
{
msg_Err
(
p_access
,
"failed to read answer"
);
goto
error
;
...
...
@@ -825,7 +825,7 @@ static int Start( access_t *p_access, int64_t i_pos )
return
VLC_EGENERIC
;
}
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
NULL
);
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
NULL
);
if
(
psz
==
NULL
)
{
msg_Err
(
p_access
,
"cannot read data 0"
);
...
...
modules/access/rtsp/access.c
View file @
c0f61b34
...
...
@@ -126,7 +126,7 @@ static int RtspReadLine( void *p_userdata, uint8_t *p_buffer, int i_buffer )
access_t
*
p_access
=
(
access_t
*
)
p_userdata
;
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
char
*
psz
=
net_Gets
(
VLC_OBJECT
(
p_access
)
,
p_sys
->
fd
,
0
);
char
*
psz
=
net_Gets
(
p_access
,
p_sys
->
fd
,
0
);
//fprintf(stderr, "ReadLine: %s\n", psz);
...
...
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