summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/Crypto.cpp
diff options
context:
space:
mode:
authorEdwin Wong <edwinwong@google.com>2012-07-10 20:01:13 -0700
committerEdwin Wong <edwinwong@google.com>2012-07-13 13:05:56 -0700
commitfa2b8f243eb048fb2b8e5a14356190f69eb31a36 (patch)
treed54232d4c61bf767677bcee2373069c4969301c1 /media/libmediaplayerservice/Crypto.cpp
parent4221e2813f7a307936036e62b6a63bbda23005ee (diff)
downloadframeworks_av-fa2b8f243eb048fb2b8e5a14356190f69eb31a36.zip
frameworks_av-fa2b8f243eb048fb2b8e5a14356190f69eb31a36.tar.gz
frameworks_av-fa2b8f243eb048fb2b8e5a14356190f69eb31a36.tar.bz2
Fixed sample video corrupted in MediaCodec mode.
Change-Id: I50c5660072d40f6e297e58fd026ea04c89d6a70a related-to-bug: 6732061
Diffstat (limited to 'media/libmediaplayerservice/Crypto.cpp')
-rw-r--r--media/libmediaplayerservice/Crypto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/Crypto.cpp b/media/libmediaplayerservice/Crypto.cpp
index d35d5b1..0e8f913 100644
--- a/media/libmediaplayerservice/Crypto.cpp
+++ b/media/libmediaplayerservice/Crypto.cpp
@@ -141,7 +141,7 @@ bool Crypto::requiresSecureDecoderComponent(const char *mime) const {
return mPlugin->requiresSecureDecoderComponent(mime);
}
-status_t Crypto::decrypt(
+ssize_t Crypto::decrypt(
bool secure,
const uint8_t key[16],
const uint8_t iv[16],