Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
f2852bcf
Commit
f2852bcf
authored
Jun 04, 2008
by
Rémi Denis-Courmont
Browse files
Fix crash if inputs fails and there is no sout
parent
86afb979
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
f2852bcf
...
...
@@ -400,9 +400,10 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
input_thread_t
*
p_input
;
p_input
=
Create
(
p_parent
,
p_item
,
NULL
,
false
,
p_sout
);
if
(
!
p_input
&&
p_sout
)
if
(
!
p_input
)
{
SoutKeep
(
p_sout
);
if
(
p_sout
)
SoutKeep
(
p_sout
);
return
VLC_EGENERIC
;
}
p_input
->
p
->
b_sout_keep
=
b_sout_keep
;
...
...
Write
Preview
Supports
Markdown
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