Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7bf82d91
Commit
7bf82d91
authored
Sep 17, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555: fix use of uninitialized value (partial and manual backport of
a30ec4a2
)
parent
91bc65e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
modules/demux/live555.cpp
modules/demux/live555.cpp
+10
-9
No files found.
modules/demux/live555.cpp
View file @
7bf82d91
...
...
@@ -1237,7 +1237,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
int64_t
*
pi64
,
i64
;
double
*
pf
,
f
;
bool
*
pb
,
*
pb2
,
b_bool
;
bool
*
pb
,
*
pb2
;
int
*
pi_int
;
switch
(
i_query
)
...
...
@@ -1402,8 +1402,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case
DEMUX_SET_PAUSE_STATE
:
{
int
i
;
p_sys
->
b_paused
=
(
bool
)
va_arg
(
args
,
int
);
if
(
p_sys
->
rtsp
==
NULL
)
return
VLC_EGENERIC
;
...
...
@@ -1430,13 +1428,16 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
else
if
(
!
p_sys
->
b_paused
&&
p_sys
->
p_timeout
!=
NULL
)
p_sys
->
p_timeout
->
b_handle_keep_alive
=
false
;
for
(
i
=
0
;
!
b_bool
&&
i
<
p_sys
->
i_track
;
i
++
)
if
(
!
p_sys
->
b_paused
)
{
live_track_t
*
tk
=
p_sys
->
track
[
i
];
tk
->
b_rtcp_sync
=
false
;
tk
->
i_pts
=
0
;
p_sys
->
i_pcr
=
0
;
es_out_Control
(
p_demux
->
out
,
ES_OUT_RESET_PCR
);
for
(
int
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
{
live_track_t
*
tk
=
p_sys
->
track
[
i
];
tk
->
b_rtcp_sync
=
false
;
tk
->
i_pts
=
0
;
p_sys
->
i_pcr
=
0
;
es_out_Control
(
p_demux
->
out
,
ES_OUT_RESET_PCR
);
}
}
/* Reset data received counter */
...
...
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