Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
c52ba916
Commit
c52ba916
authored
Dec 28, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555: use calloc
parent
c2a68e81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
modules/demux/live555.cpp
modules/demux/live555.cpp
+1
-18
No files found.
modules/demux/live555.cpp
View file @
c52ba916
...
...
@@ -290,36 +290,19 @@ static int Open ( vlc_object_t *p_this )
p_demux
->
pf_demux
=
Demux
;
p_demux
->
pf_control
=
Control
;
p_demux
->
p_sys
=
p_sys
=
(
demux_sys_t
*
)
malloc
(
sizeof
(
demux_sys_t
)
);
p_demux
->
p_sys
=
p_sys
=
(
demux_sys_t
*
)
calloc
(
1
,
sizeof
(
demux_sys_t
)
);
if
(
!
p_sys
)
return
VLC_ENOMEM
;
msg_Dbg
(
p_demux
,
"version "
LIVEMEDIA_LIBRARY_VERSION_STRING
);
p_sys
->
p_sdp
=
NULL
;
p_sys
->
scheduler
=
NULL
;
p_sys
->
env
=
NULL
;
p_sys
->
ms
=
NULL
;
p_sys
->
rtsp
=
NULL
;
TAB_INIT
(
p_sys
->
i_track
,
p_sys
->
track
);
p_sys
->
i_pcr
=
0
;
p_sys
->
f_npt
=
0.
;
p_sys
->
f_npt_start
=
0.
;
p_sys
->
f_npt_length
=
0.
;
p_sys
->
p_out_asf
=
NULL
;
p_sys
->
b_no_data
=
true
;
p_sys
->
i_no_data_ti
=
0
;
p_sys
->
p_timeout
=
NULL
;
p_sys
->
i_timeout
=
0
;
p_sys
->
b_timeout_call
=
false
;
p_sys
->
b_multicast
=
false
;
p_sys
->
b_real
=
false
;
p_sys
->
psz_path
=
strdup
(
p_demux
->
psz_location
);
p_sys
->
b_force_mcast
=
var_InheritBool
(
p_demux
,
"rtsp-mcast"
);
p_sys
->
b_get_param
=
false
;
p_sys
->
b_paused
=
false
;
p_sys
->
f_seek_request
=
-
1
;
p_sys
->
b_error
=
false
;
p_sys
->
i_live555_ret
=
0
;
/* parse URL for rtsp://[user:[passwd]@]serverip:port/options */
vlc_UrlParse
(
&
p_sys
->
url
,
p_sys
->
psz_path
,
0
);
...
...
Write
Preview
Markdown
is supported
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