Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
93ff5fca
Commit
93ff5fca
authored
Jul 31, 2015
by
Tristan Matthews
Browse files
demux: adaptative: remove dead code (cid #1313827)
Returns before ever incrementing.
parent
8ef648f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/adaptative/PlaylistManager.cpp
View file @
93ff5fca
...
...
@@ -217,12 +217,10 @@ mtime_t PlaylistManager::getFirstDTS() const
int
PlaylistManager
::
getGroup
()
const
{
std
::
vector
<
Stream
*>::
const_iterator
it
;
for
(
it
=
streams
.
begin
();
it
!=
streams
.
end
();
++
it
)
{
return
(
*
it
)
->
getGroup
();
}
return
-
1
;
if
(
!
streams
.
empty
())
return
streams
[
0
]
->
getGroup
();
else
return
-
1
;
}
int
PlaylistManager
::
esCount
()
const
...
...
Write
Preview
Supports
Markdown
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