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

Commit ba385271 authored by Ray Essick's avatar Ray Essick Committed by Gerrit Code Review
Browse files

Merge "benchmark: Fix NPD in Encode::deInitCodec()"

parents 83e2dd64 9c41a9f1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -159,6 +159,7 @@ void Encoder::deInitCodec() {
        AMediaFormat_delete(mFormat);
        mFormat = nullptr;
    }
    if (!mCodec) return;
    AMediaCodec_stop(mCodec);
    AMediaCodec_delete(mCodec);
    int64_t eTime = mStats->getCurTime();