Remove useless else
This commit is contained in:
@@ -215,10 +215,9 @@ qint64 VLCEngine::length_nanosec() const {
|
||||
if (result > 0) {
|
||||
return result;
|
||||
}
|
||||
else {
|
||||
// Get the length from the pipeline if we don't know.
|
||||
return (length() * kNsecPerMsec);
|
||||
}
|
||||
|
||||
// Get the length from the pipeline if we don't know.
|
||||
return (length() * kNsecPerMsec);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user