diff options
author | Gloria Wang <gwang@google.com> | 2010-11-19 15:19:36 -0800 |
---|---|---|
committer | Gloria Wang <gwang@google.com> | 2010-11-19 15:52:32 -0800 |
commit | a2cd44cb5067b4fe98794860690394254d3ac73c (patch) | |
tree | 08a581d8684a550faa9f5cb76dc5cab96e641f81 /drm/common/DrmEngineBase.cpp | |
parent | c726bd8b7b9929fd917b01e5551a66ad5fe2c04e (diff) | |
download | frameworks_av-a2cd44cb5067b4fe98794860690394254d3ac73c.zip frameworks_av-a2cd44cb5067b4fe98794860690394254d3ac73c.tar.gz frameworks_av-a2cd44cb5067b4fe98794860690394254d3ac73c.tar.bz2 |
64-bit file size/offset support for DRM framework
Change-Id: I0ba7147607825234df9fa28732e1bba344e82e79
Diffstat (limited to 'drm/common/DrmEngineBase.cpp')
-rw-r--r-- | drm/common/DrmEngineBase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drm/common/DrmEngineBase.cpp b/drm/common/DrmEngineBase.cpp index 10c64ee..98a9ece 100644 --- a/drm/common/DrmEngineBase.cpp +++ b/drm/common/DrmEngineBase.cpp @@ -80,7 +80,7 @@ status_t DrmEngineBase::consumeRights( } status_t DrmEngineBase::setPlaybackStatus( - int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int position) { + int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { return onSetPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position); } @@ -116,7 +116,7 @@ DrmSupportInfo* DrmEngineBase::getSupportInfo(int uniqueId) { } status_t DrmEngineBase::openDecryptSession( - int uniqueId, DecryptHandle* decryptHandle, int fd, int offset, int length) { + int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) { return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length); } @@ -146,7 +146,7 @@ status_t DrmEngineBase::finalizeDecryptUnit( } ssize_t DrmEngineBase::pread( - int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off_t offset) { + int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { return onPread(uniqueId, decryptHandle, buffer, numBytes, offset); } |