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

Commit 1c58368e authored by Ray Essick's avatar Ray Essick Committed by Automerger Merge Worker
Browse files

Merge "C2SoftFlacDec: add support to receive multiple CSDs" am: 972aa71d

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

Change-Id: Ib16284fff25ce752fa9ba420bd6e6f08ab445961
parents 79c1cf9b 972aa71d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -221,6 +221,11 @@ void C2SoftFlacDec::process(

    uint8_t *input = const_cast<uint8_t *>(rView.data() + inOffset);
    if (codecConfig) {
        if (mHasStreamInfo) {
            ALOGV("Ignore Codec Config");
            fillEmptyWork(work);
            return;
        }
        status_t decoderErr = mFLACDecoder->parseMetadata(input, inSize);
        if (decoderErr != OK && decoderErr != WOULD_BLOCK) {
            ALOGE("process: FLACDecoder parseMetaData returns error %d", decoderErr);