From 64a23430f989f74afb766375ce8ea2601d34c4bc Mon Sep 17 00:00:00 2001 From: James Dong Date: Wed, 25 May 2011 12:17:33 -0700 Subject: Revert "Use pread() to get the decrypted data for container based DRM file." This reverts commit a6f1104b9d829c636b60b9387e379f9667b5df09. --- media/libstagefright/NuHTTPDataSource.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'media') diff --git a/media/libstagefright/NuHTTPDataSource.cpp b/media/libstagefright/NuHTTPDataSource.cpp index dd29c84..62fb732 100644 --- a/media/libstagefright/NuHTTPDataSource.cpp +++ b/media/libstagefright/NuHTTPDataSource.cpp @@ -383,13 +383,6 @@ ssize_t NuHTTPDataSource::readAt(off64_t offset, void *data, size_t size) { Mutex::Autolock autoLock(mLock); - // if it's a DRM container based streaming, call pread() of the DRM plugin - // to get the decrypted data - if (mDecryptHandle != NULL && DecryptApiType::CONTAINER_BASED - == mDecryptHandle->decryptApiType) { - return mDrmManagerClient->pread(mDecryptHandle, data, size, offset); - } - if (offset != mOffset) { String8 host = mHost; String8 path = mPath; -- cgit v1.1