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
8be514bb
Commit
8be514bb
authored
Nov 16, 2004
by
Laurent Aimar
Browse files
input.c: fixed segfault with access_demux.
parent
06127932
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
8be514bb
...
...
@@ -820,7 +820,8 @@ static int Init( input_thread_t * p_input )
vlc_meta_Delete
(
p_meta_tmp
);
}
if
(
access2_Control
(
p_input
->
input
.
p_access
,
ACCESS_GET_META
,
&
p_meta_tmp
))
if
(
!
p_input
->
input
.
p_access
||
access2_Control
(
p_input
->
input
.
p_access
,
ACCESS_GET_META
,
&
p_meta_tmp
))
p_meta_tmp
=
NULL
;
if
(
p_meta
==
NULL
)
...
...
@@ -852,7 +853,8 @@ static int Init( input_thread_t * p_input )
}
}
if
(
!
access2_Control
(
p_input
->
slave
[
i
]
->
p_access
,
if
(
p_input
->
slave
[
i
]
->
p_access
&&
!
access2_Control
(
p_input
->
slave
[
i
]
->
p_access
,
ACCESS_GET_META
,
&
p_meta_slave
)
)
{
if
(
p_meta
==
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