Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85324d95 authored by Edwin Wong's avatar Edwin Wong Committed by Android Git Automerger
Browse files

am 647336c7: am e0daeb39: Fixed sample video corrupted in MediaCodec mode.

* commit '647336c7':
  Fixed sample video corrupted in MediaCodec mode.
parents 4bb0164f 647336c7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -70,7 +70,9 @@ struct CryptoPlugin {
    // At the java level these special errors will then trigger a
    // MediaCodec.CryptoException that gives clients access to both
    // the error code and the errorDetailMsg.
    virtual status_t decrypt(
    // Returns a non-negative result to indicate the number of bytes written
    // to the dstPtr, or a negative result to indicate an error.
    virtual ssize_t decrypt(
            bool secure,
            const uint8_t key[16],
            const uint8_t iv[16],