audio-effects: Fix out-of-bound read

Modified check to avoid out-of-bound read.

Change-Id: I3ed00c16287b1918d7670604f01f6d5e24bf9d4a
diff --git a/post_proc/equalizer.c b/post_proc/equalizer.c
index a2e69b0..fe188c7 100644
--- a/post_proc/equalizer.c
+++ b/post_proc/equalizer.c
@@ -15,6 +15,11 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
+ *
+ * Changes from Qualcomm Innovation Center, Inc. are provided under the following license:
+ * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause-Clear
+ *
  */
 
 #define LOG_TAG "offload_effect_equalizer"
@@ -425,7 +430,7 @@
         equalizer_set_preset(eq_ctxt, preset);
         break;
     case EQ_PARAM_BAND_LEVEL:
-        if (vsize < sizeof(int16_t)) {
+        if (vsize < sizeof(int32_t)) {
             p->status = -EINVAL;
             break;
         }