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

Commit b44da94f authored by James Zern's avatar James Zern Committed by Android (Google) Code Review
Browse files

Merge "C2SoftGav1Dec: remove non-eos flush"

parents 1326c6d1 d7c6d753
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -446,15 +446,6 @@ void C2SoftGav1Dec::process(const std::unique_ptr<C2Work> &work,
      return;
    }

  } else {
    const Libgav1StatusCode status = mCodecCtx->SignalEOS();
    if (status != kLibgav1StatusOk) {
      ALOGE("Failed to flush av1 decoder. status: %d.", status);
      work->result = C2_CORRUPTED;
      work->workletsProcessed = 1u;
      mSignalledError = true;
      return;
    }
  }

  (void)outputBuffer(pool, work);