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

Commit 36d5c62a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Enable bitpool sanity checks" into rvc-dev am: 4370df92

Change-Id: Ie49cd5acecaff307d14dcf9169717b09013b8ce6
parents 7fdb984a 4370df92
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -317,7 +317,6 @@ OI_STATUS OI_CODEC_SBC_DecodeFrame(OI_CODEC_SBC_DECODER_CONTEXT* context,
    return OI_CODEC_SBC_CHECKSUM_MISMATCH;
    return OI_CODEC_SBC_CHECKSUM_MISMATCH;
  }
  }


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


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