Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
dbdbe005
Commit
dbdbe005
authored
Apr 16, 2009
by
Rémi Denis-Courmont
Browse files
Do not crash if sout access is not specified - fixes #2665
Should we print an error and fail?
parent
0ef62810
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_output/stream_output.c
View file @
dbdbe005
...
...
@@ -300,6 +300,8 @@ sout_access_out_t *sout_AccessOutNew( vlc_object_t *p_sout,
psz_next
=
config_ChainCreate
(
&
p_access
->
psz_access
,
&
p_access
->
p_cfg
,
psz_access
);
free
(
psz_next
);
if
(
!
p_access
->
psz_access
)
p_access
->
psz_access
=
strdup
(
""
);
p_access
->
psz_path
=
strdup
(
psz_name
?
psz_name
:
""
);
p_access
->
p_sys
=
NULL
;
p_access
->
pf_seek
=
NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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