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
4bf5e817
Commit
4bf5e817
authored
Jun 29, 2008
by
ivoire
Browse files
Avoid segfault in subtitle demuxer.
parent
ea4acee1
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/subtitle.c
View file @
4bf5e817
...
...
@@ -253,7 +253,7 @@ static int Open ( vlc_object_t *p_this )
/* Get or probe the type */
p_sys
->
i_type
=
SUB_TYPE_UNKNOWN
;
psz_type
=
var_CreateGetString
(
p_demux
,
"sub-type"
);
if
(
*
psz_type
)
if
(
psz_type
&&
*
psz_type
)
{
int
i
;
...
...
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