Merge change I5126e183 into eclair-mr2
* changes: 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