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
5adbff48
Commit
5adbff48
authored
Oct 02, 2007
by
Rafaël Carré
Browse files
m4a demuxer: initialize correctly p_sys
parent
c24f27b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mpeg/m4a.c
View file @
5adbff48
...
...
@@ -101,13 +101,8 @@ static int Open( vlc_object_t * p_this )
p_demux
->
pf_demux
=
Demux
;
p_demux
->
pf_control
=
Control
;
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_sys
->
p_es
=
NULL
;
p_demux
->
p_sys
=
p_sys
=
calloc
(
sizeof
(
demux_sys_t
),
1
);
p_sys
->
b_start
=
VLC_TRUE
;
p_sys
->
i_pts
=
0
;
p_sys
->
i_bytes
=
0
;
p_sys
->
i_time_offset
=
0
;
p_sys
->
i_bitrate_avg
=
0
;
/* Load the mpeg 4 audio packetizer */
INIT_APACKETIZER
(
p_sys
->
p_packetizer
,
'm'
,
'p'
,
'4'
,
'a'
);
...
...
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