Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
97577c7b
Commit
97577c7b
authored
Feb 10, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings
parent
ce6dbc6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/access_output/http.c
modules/access_output/http.c
+5
-3
No files found.
modules/access_output/http.c
View file @
97577c7b
...
...
@@ -25,12 +25,14 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <stdlib.h>
#include <vlc/vlc.h>
#include <vlc_sout.h>
#include <vlc_block.h>
#include <stdlib.h>
#include <stdio.h>
#include <vlc_input.h>
#include <vlc_playlist.h>
...
...
@@ -180,7 +182,7 @@ static int Open( vlc_object_t *p_this )
psz_bind_addr
=
psz_parser
=
strdup
(
p_access
->
psz_name
);
i_bind_port
=
0
;
psz_file_name
=
""
;
psz_file_name
=
NULL
;
while
(
*
psz_parser
&&
*
psz_parser
!=
':'
&&
*
psz_parser
!=
'/'
)
{
...
...
@@ -204,7 +206,7 @@ static int Open( vlc_object_t *p_this )
psz_file_name
=
psz_parser
;
}
if
(
!*
psz_file_name
)
if
(
psz_file_name
==
NULL
)
{
psz_file_name
=
strdup
(
"/"
);
}
...
...
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