commit | b1262a8b1dd23abad64465f9ffd25c44facdf4d2 | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Tue Nov 16 14:04:54 2010 -0800 |
committer | James Dong <jdong@google.com> | Thu Nov 18 14:12:24 2010 -0800 |
tree | cd19da06f0cc2c92ec35e1086d126c3546cc5584 | |
parent | 83ed1ae073556f4971bf8f3a5cbcd2d37e1dd2bb [diff] [blame] |
64-bit file size/offset support for media framework Change-Id: I3452bc2c0f1d990cc67285df2fce1f9f86ff8e10
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp index 538e7bf..922aaa8 100644 --- a/media/libstagefright/AwesomePlayer.cpp +++ b/media/libstagefright/AwesomePlayer.cpp
@@ -499,7 +499,7 @@ } bool AwesomePlayer::getBitrate(int64_t *bitrate) { - off_t size; + off64_t size; if (mDurationUs >= 0 && mCachedSource != NULL && mCachedSource->getSize(&size) == OK) { *bitrate = size * 8000000ll / mDurationUs; // in bits/sec