Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
85078e25
Commit
85078e25
authored
Aug 08, 2005
by
Jean-Paul Saman
Browse files
Fix a segmentation fault introduced by the previous commit
parent
03e270d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/ts.c
View file @
85078e25
...
...
@@ -429,6 +429,8 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
memset
(
p_sys
,
0
,
sizeof
(
demux_sys_t
)
);
p_sys
->
i_packet_size
=
i_packet_size
;
/* Fill dump mode fields */
...
...
@@ -485,8 +487,6 @@ static int Open( vlc_object_t *p_this )
else
p_demux
->
pf_demux
=
Demux
;
p_demux
->
pf_control
=
Control
;
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
memset
(
p_sys
,
0
,
sizeof
(
demux_sys_t
)
);
/* Init p_sys field */
p_sys
->
b_meta
=
VLC_TRUE
;
...
...
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