diff options
author | Gloria Wang <gwang@google.com> | 2011-02-08 13:24:08 -0800 |
---|---|---|
committer | Gloria Wang <gwang@google.com> | 2011-02-08 13:25:27 -0800 |
commit | 8f64134f749e4f7861a08a3063450fc714c4651d (patch) | |
tree | 3b095f20cf3d4da0922c6a9b2d078f4cdc65ccd3 /media/libstagefright/DRMExtractor.cpp | |
parent | b93d55d9f6e154629d47270970e0a0ace5a1b0a0 (diff) | |
download | frameworks_av-8f64134f749e4f7861a08a3063450fc714c4651d.zip frameworks_av-8f64134f749e4f7861a08a3063450fc714c4651d.tar.gz frameworks_av-8f64134f749e4f7861a08a3063450fc714c4651d.tar.bz2 |
Add more check before using the DRM manager client.
Change-Id: I7369dcd6b6abd1945430373200fd5353bca70652
Diffstat (limited to 'media/libstagefright/DRMExtractor.cpp')
-rw-r--r-- | media/libstagefright/DRMExtractor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/DRMExtractor.cpp b/media/libstagefright/DRMExtractor.cpp index 4b83568..647cf43 100644 --- a/media/libstagefright/DRMExtractor.cpp +++ b/media/libstagefright/DRMExtractor.cpp @@ -79,6 +79,7 @@ DRMSource::DRMSource(const sp<MediaSource> &mediaSource, mTrackId(trackId), mNALLengthSize(0), mWantsNALFragments(false) { + CHECK(mDrmManagerClient); mDrmManagerClient->initializeDecryptUnit( mDecryptHandle, trackId, ipmpBox); |