Loading media/libstagefright/ACodecBufferChannel.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -300,9 +300,11 @@ void ACodecBufferChannel::setInputBufferArray(const std::vector<BufferAndId> &ar }); size_t destinationBufferSize = maxSize; size_t heapSize = totalSize + destinationBufferSize; if (heapSize > 0) { mDealer = makeMemoryDealer(heapSize); mDecryptDestination = mDealer->allocate(destinationBufferSize); } } std::vector<const BufferInfo> inputBuffers; for (const BufferAndId &elem : array) { sp<IMemory> sharedEncryptedBuffer; Loading Loading
media/libstagefright/ACodecBufferChannel.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -300,9 +300,11 @@ void ACodecBufferChannel::setInputBufferArray(const std::vector<BufferAndId> &ar }); size_t destinationBufferSize = maxSize; size_t heapSize = totalSize + destinationBufferSize; if (heapSize > 0) { mDealer = makeMemoryDealer(heapSize); mDecryptDestination = mDealer->allocate(destinationBufferSize); } } std::vector<const BufferInfo> inputBuffers; for (const BufferAndId &elem : array) { sp<IMemory> sharedEncryptedBuffer; Loading