am 2f133015: Merge change I5126e183 into eclair-mr2
Merge commit '2f1330155153e590548e711d619765edc8ebb62f' into eclair-mr2-plus-aosp * commit '2f1330155153e590548e711d619765edc8ebb62f': Fix MP3Extractor duration overflows...
This commit is contained in:
@@ -373,7 +373,7 @@ MP3Extractor::MP3Extractor(const sp<DataSource> &source)
|
|||||||
if (mDataSource->getSize(&fileSize) == OK) {
|
if (mDataSource->getSize(&fileSize) == OK) {
|
||||||
mMeta->setInt64(
|
mMeta->setInt64(
|
||||||
kKeyDuration,
|
kKeyDuration,
|
||||||
8000 * (fileSize - mFirstFramePos) / bitrate);
|
8000LL * (fileSize - mFirstFramePos) / bitrate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user