Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5126e183 authored by Andreas Huber's avatar Andreas Huber
Browse files

Fix MP3Extractor duration overflows...

parent 4899daa0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ MP3Extractor::MP3Extractor(const sp<DataSource> &source)
        if (mDataSource->getSize(&fileSize) == OK) {
            mMeta->setInt64(
                    kKeyDuration,
                    8000 * (fileSize - mFirstFramePos) / bitrate);
                    8000LL * (fileSize - mFirstFramePos) / bitrate);
        }
    }
}