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

Commit b9324922 authored by Ray Essick's avatar Ray Essick Committed by android-build-merger
Browse files

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

am: ba385271

Change-Id: Ifd98e0cd8d573aa8796def0d853eebbdbff8aca5
parents 9c5dcef7 ba385271
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();