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

Commit 69490176 authored by Wonsik Kim's avatar Wonsik Kim Committed by Android (Google) Code Review
Browse files

Merge "stagefright: do not attempt to read from secure output buffer"

parents c1c884dd 922bb104
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2518,7 +2518,7 @@ void MediaCodec::onMessageReceived(const sp<AMessage> &msg) {
                            // format as necessary.
                            int32_t flags = 0;
                            (void) buffer->meta()->findInt32("flags", &flags);
                            if (flags & BUFFER_FLAG_CODECCONFIG) {
                            if ((flags & BUFFER_FLAG_CODECCONFIG) && !(mFlags & kFlagIsSecure)) {
                                status_t err =
                                    amendOutputFormatWithCodecSpecificData(buffer);