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

Commit 845ecaa6 authored by Andy Hung's avatar Andy Hung Committed by Automerger Merge Worker
Browse files

Merge "libeffects: Zero initialize context structures" am: eb0a9ece

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1620819

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iedfd9b0f9d6f6ace5f070c11deb1e3a60809c2ca
parents b2c12b0c eb0a9ece
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ LVDBE_ReturnStatus_en LVDBE_Init(LVDBE_Handle_t* phInstance, LVDBE_Capabilities_
     * Create the instance handle if not already initialised
     */
    if (*phInstance == LVM_NULL) {
        *phInstance = new LVDBE_Instance_t;
        *phInstance = new LVDBE_Instance_t{};
    }
    pInstance = (LVDBE_Instance_t*)*phInstance;

+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ LVM_ReturnStatus_en LVM_GetInstanceHandle(LVM_Handle_t* phInstance, LVM_InstPara
    /*
     * Create the instance handle
     */
    *phInstance = new LVM_Instance_t;
    *phInstance = new LVM_Instance_t{};
    pInstance = (LVM_Instance_t*)*phInstance;

    pInstance->InstParams = *pInstParams;
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ LVEQNB_ReturnStatus_en LVEQNB_Init(LVEQNB_Handle_t* phInstance,
                                   LVEQNB_Capabilities_t* pCapabilities, void* pScratch) {
    LVEQNB_Instance_t* pInstance;

    *phInstance = new LVEQNB_Instance_t;
    *phInstance = new LVEQNB_Instance_t{};
    pInstance = (LVEQNB_Instance_t*)*phInstance;

    pInstance->Capabilities = *pCapabilities;
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ LVREV_ReturnStatus_en LVREV_GetInstanceHandle(LVREV_Handle_t* phInstance,
     * Set the instance handle if not already initialised
     */
    if (*phInstance == LVM_NULL) {
        *phInstance = new LVREV_Instance_st;
        *phInstance = new LVREV_Instance_st{};
    }
    pLVREV_Private = (LVREV_Instance_st*)*phInstance;
    pLVREV_Private->MemoryTable = *pMemoryTable;
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ LVPSA_RETURN LVPSA_Init(pLVPSA_Handle_t* phInstance, LVPSA_InitParams_t* pInitPa
    LVM_UINT32 BufferLength = 0;

    /* Set the instance handle if not already initialised */
    *phInstance = new LVPSA_InstancePr_t;
    *phInstance = new LVPSA_InstancePr_t{};
    pLVPSA_Inst = (LVPSA_InstancePr_t*)*phInstance;

    pLVPSA_Inst->pScratch = pScratch;
Loading