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
9fa988fd
Commit
9fa988fd
authored
Dec 05, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* init httpd webintf p_sys fully. refs #880
parent
9aa0a592
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/control/http/http.c
modules/control/http/http.c
+3
-5
No files found.
modules/control/http/http.c
View file @
9fa988fd
...
...
@@ -125,8 +125,8 @@ static int Open( vlc_object_t *p_this )
int
i_port
=
0
;
char
*
psz_src
;
var_Create
(
p_intf
->
p_libvlc
,
"http-host"
,
VLC_VAR_STRING
);
psz_address
=
var_GetString
(
p_intf
->
p_libvlc
,
"http-host"
);
var_Create
(
p_intf
->
p_libvlc
,
"http-host"
,
VLC_VAR_STRING
);
psz_address
=
var_GetString
(
p_intf
->
p_libvlc
,
"http-host"
);
if
(
!
psz_address
||
!*
psz_address
)
{
psz_address
=
config_GetPsz
(
p_intf
,
"http-host"
);
...
...
@@ -148,9 +148,7 @@ static int Open( vlc_object_t *p_this )
{
return
(
VLC_ENOMEM
);
}
p_sys
->
p_playlist
=
NULL
;
p_sys
->
p_input
=
NULL
;
p_sys
->
p_vlm
=
NULL
;
memset
(
p_intf
->
p_sys
,
0
,
sizeof
(
intf_sys_t
)
);
p_sys
->
psz_address
=
psz_address
;
p_sys
->
i_port
=
i_port
;
...
...
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