From 80077bb59501217577339abc0159efbe614b80bc Mon Sep 17 00:00:00 2001 From: James Dong Date: Tue, 16 Nov 2010 16:46:03 -0800 Subject: [PATCH] Support 64-bit file size/offset o This patch depends on the patch in the media framework to support 64-bit file size/offset Change-Id: Ie26b4ac70eb45654ee9ccc3961b4cc5690468c14 --- opensles/libopensles/android_SfPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensles/libopensles/android_SfPlayer.cpp b/opensles/libopensles/android_SfPlayer.cpp index 613c1817..0a7b7ac6 100644 --- a/opensles/libopensles/android_SfPlayer.cpp +++ b/opensles/libopensles/android_SfPlayer.cpp @@ -268,7 +268,7 @@ void SfPlayer::onPrepare(const sp &msg) { sp source = extractor->getTrack(audioTrackIndex); sp meta = source->getFormat(); - off_t size; + off64_t size; int64_t durationUs; if (dataSource->getSize(&size) == OK && meta->findInt64(kKeyDuration, &durationUs)) { -- 2.11.0