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

Commit 64c22634 authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Small fix to MediaCodec"

parents 46f465c2 51656aa9
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -673,9 +673,8 @@ void MediaCodec::onMessageReceived(const sp<AMessage> &msg) {


            int32_t nameIsType;
            int32_t nameIsType;
            int32_t encoder = false;
            int32_t encoder = false;
            if (!msg->findInt32("nameIsType", &nameIsType)) {
            CHECK(msg->findInt32("nameIsType", &nameIsType));
                nameIsType = false;
            if (nameIsType) {
            } else {
                CHECK(msg->findInt32("encoder", &encoder));
                CHECK(msg->findInt32("encoder", &encoder));
            }
            }