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

Commit 11004efa authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove unused variable"

parents 2485469f 8e401517
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -237,13 +237,10 @@ FrameDecoder::~FrameDecoder() {
}

bool isHDR(const sp<AMessage> &format) {
    uint32_t standard, range, transfer;
    uint32_t standard, transfer;
    if (!format->findInt32("color-standard", (int32_t*)&standard)) {
        standard = 0;
    }
    if (!format->findInt32("color-range", (int32_t*)&range)) {
        range = 0;
    }
    if (!format->findInt32("color-transfer", (int32_t*)&transfer)) {
        transfer = 0;
    }