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

Commit 087d5853 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "C2SoftGav1Dec: remove non-eos flush" into rvc-qpr-dev am: b281445c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/12568399

Change-Id: Icbfd1024edc6b1cf73eabc327b5c4fd8d6b617e7
parents b770759c b281445c
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);