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

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

Merge "C2SoftFlacDec: add support to receive multiple CSDs"

parents 2c40890d ec42fa2d
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);