Loading post_proc/bundle.c +4 −2 Original line number Diff line number Diff line Loading @@ -902,7 +902,8 @@ int effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, } if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || replySize == NULL || *replySize < 2*sizeof(int32_t)) { return -EINVAL; status = -EINVAL; goto exit; } memcpy(pReplyData, pCmdData, sizeof(int32_t)*2); } break; Loading Loading @@ -946,7 +947,8 @@ int effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, cmdSize, pCmdData, *replySize, pReplyData); if (cmdSize != sizeof(uint32_t) || pCmdData == NULL || pReplyData == NULL || *replySize != sizeof(int)) { return -EINVAL; status = -EINVAL; goto exit; } uint32_t value = *(uint32_t *)pCmdData; if (context->ops.set_hw_acc_mode) Loading Loading
post_proc/bundle.c +4 −2 Original line number Diff line number Diff line Loading @@ -902,7 +902,8 @@ int effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, } if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || replySize == NULL || *replySize < 2*sizeof(int32_t)) { return -EINVAL; status = -EINVAL; goto exit; } memcpy(pReplyData, pCmdData, sizeof(int32_t)*2); } break; Loading Loading @@ -946,7 +947,8 @@ int effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, cmdSize, pCmdData, *replySize, pReplyData); if (cmdSize != sizeof(uint32_t) || pCmdData == NULL || pReplyData == NULL || *replySize != sizeof(int)) { return -EINVAL; status = -EINVAL; goto exit; } uint32_t value = *(uint32_t *)pCmdData; if (context->ops.set_hw_acc_mode) Loading