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
e8150e43
Commit
e8150e43
authored
Apr 01, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused ACL parameter of httpd_StreamNew()
parent
3a4e084c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
include/vlc_httpd.h
include/vlc_httpd.h
+1
-1
modules/access_output/http.c
modules/access_output/http.c
+1
-1
src/missing.c
src/missing.c
+2
-3
src/network/httpd.c
src/network/httpd.c
+2
-3
No files found.
include/vlc_httpd.h
View file @
e8150e43
...
...
@@ -124,7 +124,7 @@ VLC_API httpd_redirect_t * httpd_RedirectNew( httpd_host_t *, const char *psz_ur
VLC_API
void
httpd_RedirectDelete
(
httpd_redirect_t
*
);
VLC_API
httpd_stream_t
*
httpd_StreamNew
(
httpd_host_t
*
,
const
char
*
psz_url
,
const
char
*
psz_mime
,
const
char
*
psz_user
,
const
char
*
psz_password
,
const
vlc_acl_t
*
p_acl
)
VLC_USED
;
VLC_API
httpd_stream_t
*
httpd_StreamNew
(
httpd_host_t
*
,
const
char
*
psz_url
,
const
char
*
psz_mime
,
const
char
*
psz_user
,
const
char
*
psz_password
)
VLC_USED
;
VLC_API
void
httpd_StreamDelete
(
httpd_stream_t
*
);
VLC_API
int
httpd_StreamHeader
(
httpd_stream_t
*
,
uint8_t
*
p_data
,
int
i_data
);
VLC_API
int
httpd_StreamSend
(
httpd_stream_t
*
,
uint8_t
*
p_data
,
int
i_data
);
...
...
modules/access_output/http.c
View file @
e8150e43
...
...
@@ -212,7 +212,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
p_httpd_stream
=
httpd_StreamNew
(
p_sys
->
p_httpd_host
,
path
,
psz_mime
,
psz_user
,
psz_pwd
,
NULL
);
psz_user
,
psz_pwd
);
free
(
psz_user
);
free
(
psz_pwd
);
free
(
psz_mime
);
...
...
src/missing.c
View file @
e8150e43
...
...
@@ -156,11 +156,10 @@ int httpd_StreamHeader (httpd_stream_t *stream, uint8_t *data, int count)
httpd_stream_t
*
httpd_StreamNew
(
httpd_host_t
*
host
,
const
char
*
url
,
const
char
*
content_type
,
const
char
*
login
,
const
char
*
password
,
const
vlc_acl_t
*
acl
)
const
char
*
login
,
const
char
*
password
)
{
(
void
)
host
;
(
void
)
url
;
(
void
)
content_type
;
(
void
)
login
;
(
void
)
password
;
(
void
)
acl
;
(
void
)
login
;
(
void
)
password
;
assert
(
0
);
}
...
...
src/network/httpd.c
View file @
e8150e43
...
...
@@ -848,13 +848,12 @@ static int httpd_StreamCallBack( httpd_callback_sys_t *p_sys,
httpd_stream_t
*
httpd_StreamNew
(
httpd_host_t
*
host
,
const
char
*
psz_url
,
const
char
*
psz_mime
,
const
char
*
psz_user
,
const
char
*
psz_password
,
const
vlc_acl_t
*
p_acl
)
const
char
*
psz_user
,
const
char
*
psz_password
)
{
httpd_stream_t
*
stream
=
xmalloc
(
sizeof
(
httpd_stream_t
)
);
stream
->
url
=
httpd_UrlNewPrivate
(
host
,
psz_url
,
psz_user
,
psz_password
,
p_acl
);
NULL
);
if
(
stream
->
url
==
NULL
)
{
free
(
stream
);
...
...
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