Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
b62b2827
Commit
b62b2827
authored
Aug 01, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stream_output.c: fixed a segfault when muxer isn't specified.
parent
57b0e5aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+6
-3
No files found.
src/stream_output/stream_output.c
View file @
b62b2827
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* stream_output.c : stream output module
* stream_output.c : stream output module
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* Copyright (C) 2002 VideoLAN
* $Id: stream_output.c,v 1.3
1 2003/07/31 19:24:10
fenrir Exp $
* $Id: stream_output.c,v 1.3
2 2003/08/01 18:42:56
fenrir Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Laurent Aimar <fenrir@via.ecp.fr>
* Laurent Aimar <fenrir@via.ecp.fr>
...
@@ -946,6 +946,11 @@ char * sout_cfg_parser( char **ppsz_name, sout_cfg_t **pp_cfg, char *psz_chain )
...
@@ -946,6 +946,11 @@ char * sout_cfg_parser( char **ppsz_name, sout_cfg_t **pp_cfg, char *psz_chain )
*
ppsz_name
=
NULL
;
*
ppsz_name
=
NULL
;
*
pp_cfg
=
NULL
;
*
pp_cfg
=
NULL
;
if
(
p
==
NULL
)
{
return
NULL
;
}
SKIPSPACE
(
p
);
SKIPSPACE
(
p
);
while
(
*
p
&&
*
p
!=
'{'
&&
*
p
!=
':'
&&
*
p
!=
' '
&&
*
p
!=
'\t'
)
while
(
*
p
&&
*
p
!=
'{'
&&
*
p
!=
':'
&&
*
p
!=
' '
&&
*
p
!=
'\t'
)
...
@@ -1161,8 +1166,6 @@ sout_stream_t *sout_stream_new( sout_instance_t *p_sout,
...
@@ -1161,8 +1166,6 @@ sout_stream_t *sout_stream_new( sout_instance_t *p_sout,
void
sout_stream_delete
(
sout_stream_t
*
p_stream
)
void
sout_stream_delete
(
sout_stream_t
*
p_stream
)
{
{
sout_cfg_t
*
p_cfg
;
msg_Dbg
(
p_stream
,
"destroying chain... (name=%s)"
,
p_stream
->
psz_name
);
msg_Dbg
(
p_stream
,
"destroying chain... (name=%s)"
,
p_stream
->
psz_name
);
if
(
p_stream
->
p_module
)
module_Unneed
(
p_stream
,
p_stream
->
p_module
);
if
(
p_stream
->
p_module
)
module_Unneed
(
p_stream
,
p_stream
->
p_module
);
...
...
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