diff options
author | Wei Jia <wjia@google.com> | 2015-10-22 20:22:26 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-10-22 20:22:26 +0000 |
commit | 000321c7ee8c2a0e489d41b9a5f8bad93bdd89b2 (patch) | |
tree | 6112019db06f1b36ecaaffb6c0033d3619ef0a6b | |
parent | adadada4f00eaf44bbc616be7a7d30010750560e (diff) | |
parent | 7b5564e251680275d810b5c34b5d9a3caebff0fb (diff) | |
download | frameworks_av-000321c7ee8c2a0e489d41b9a5f8bad93bdd89b2.zip frameworks_av-000321c7ee8c2a0e489d41b9a5f8bad93bdd89b2.tar.gz frameworks_av-000321c7ee8c2a0e489d41b9a5f8bad93bdd89b2.tar.bz2 |
GenericSource: reset mDecryptHandle when mDataSource is cleared. am: 09c291c838 am: 313358c747 am: 92b6cd8da9
am: 7b5564e251
* commit '7b5564e251680275d810b5c34b5d9a3caebff0fb':
GenericSource: reset mDecryptHandle when mDataSource is cleared.
-rw-r--r-- | media/libmediaplayerservice/nuplayer/GenericSource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/nuplayer/GenericSource.cpp b/media/libmediaplayerservice/nuplayer/GenericSource.cpp index ccc11df..cdd2670 100644 --- a/media/libmediaplayerservice/nuplayer/GenericSource.cpp +++ b/media/libmediaplayerservice/nuplayer/GenericSource.cpp @@ -475,6 +475,7 @@ void NuPlayer::GenericSource::notifyPreparedAndCleanup(status_t err) { { Mutex::Autolock _l(mDisconnectLock); mDataSource.clear(); + mDecryptHandle = NULL; mDrmManagerClient = NULL; mCachedSource.clear(); mHttpSource.clear(); |