Loading services/mediacodec/main_swcodecservice.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -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"; Loading Loading
services/mediacodec/main_swcodecservice.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -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"; Loading