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

Commit caa66fd2 authored by Kostya Kortchinsky's avatar Kostya Kortchinsky Committed by Android (Google) Code Review
Browse files

Merge "Disable Scudo's mismatch check for media_swcodec"

parents 999c0527 21f0854d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -37,6 +37,12 @@ static const char kSystemSeccompPolicyPath[] =
static const char kVendorSeccompPolicyPath[] =
        "/vendor/etc/seccomp_policy/mediacodec.policy";

// Disable Scudo's mismatch allocation check, as it is being triggered
// by some third party code.
extern "C" const char *__scudo_default_options() {
  return "DeallocationTypeMismatch=false";
}

int main(int argc __unused, char** /*argv*/)
{
    LOG(INFO) << "media swcodec service starting";