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

Commit 63dcf979 authored by Songyue Han's avatar Songyue Han Committed by Automerger Merge Worker
Browse files

Merge "CodecCapabilities: Fix isFormatSupported function." into main am: d334194a am: 4f714f88

parents cae19b16 4f714f88
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ bool CodecCapabilities::isFormatSupported(const sp<AMessage> &format) const {
        int32_t yesNo;
        std::string key = KEY_FEATURE_;
        key = key + feat.mName;
        if (format->findInt32(key.c_str(), &yesNo)) {
        if (!format->findInt32(key.c_str(), &yesNo)) {
            continue;
        }
        if ((yesNo == 1 && !isFeatureSupported(feat.mName)) ||