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
98f70f4f
Commit
98f70f4f
authored
Sep 16, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Memory error handling
parent
d79eca2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
src/input/input.c
src/input/input.c
+3
-6
No files found.
src/input/input.c
View file @
98f70f4f
...
@@ -2120,9 +2120,9 @@ static int InputSourceInit( input_thread_t *p_input,
...
@@ -2120,9 +2120,9 @@ static int InputSourceInit( input_thread_t *p_input,
{
{
/* special hack for forcing a demuxer with --demux=module
/* special hack for forcing a demuxer with --demux=module
* (and do nothing with a list) */
* (and do nothing with a list) */
char
*
psz_var_demux
=
var_GetString
(
p_input
,
"demux"
);
char
*
psz_var_demux
=
var_Get
NonEmpty
String
(
p_input
,
"demux"
);
if
(
*
psz_var_demux
!=
'\0
'
&&
if
(
psz_var_demux
!=
NULL
'
&&
!
strchr
(
psz_var_demux
,
','
)
&&
!
strchr
(
psz_var_demux
,
','
)
&&
!
strchr
(
psz_var_demux
,
':'
)
)
!
strchr
(
psz_var_demux
,
':'
)
)
{
{
...
@@ -2130,11 +2130,8 @@ static int InputSourceInit( input_thread_t *p_input,
...
@@ -2130,11 +2130,8 @@ static int InputSourceInit( input_thread_t *p_input,
msg_Dbg
(
p_input
,
"enforced demux ` %s'"
,
psz_demux
);
msg_Dbg
(
p_input
,
"enforced demux ` %s'"
,
psz_demux
);
}
}
else
if
(
psz_var_demux
)
{
free
(
psz_var_demux
);
free
(
psz_var_demux
);
}
}
}
/* Try access_demux if no demux given */
/* Try access_demux if no demux given */
if
(
*
psz_demux
==
'\0'
)
if
(
*
psz_demux
==
'\0'
)
...
...
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