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

Commit af856b11 authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by Automerger Merge Worker
Browse files

Merge "Enable bitpool sanity checks" into oc-dev am: 5cc2beaf am: 6e3b8719...

Merge "Enable bitpool sanity checks" into oc-dev am: 5cc2beaf am: 6e3b8719 am: d9b3154f am: 2fe0ca71 am: 8ef16467

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11593936

Change-Id: I8bf46f136caa5defcca728a93f2807a63cfa1096
parents 40fb1f00 8ef16467
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -311,7 +311,6 @@ OI_STATUS OI_CODEC_SBC_DecodeFrame(OI_CODEC_SBC_DECODER_CONTEXT* context,
    return OI_CODEC_SBC_CHECKSUM_MISMATCH;
  }

#ifdef OI_DEBUG
  /*
   * Make sure the bitpool values are sane.
   */
@@ -328,7 +327,6 @@ OI_STATUS OI_CODEC_SBC_DecodeFrame(OI_CODEC_SBC_DECODER_CONTEXT* context,
           OI_SBC_MaxBitpool(&context->common.frameInfo)));
    return OI_STATUS_INVALID_PARAMETERS;
  }
#endif

  /*
   * Now decode the SBC data. Partial decode is not yet implemented for an SBC