Remove useless else

This commit is contained in:
Jonas Kvinge
2024-06-12 17:38:58 +02:00
parent 93df859aa4
commit b233600b8c
32 changed files with 178 additions and 211 deletions

View File

@@ -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);
}