Merge "LVM Reverb module : Fix a crash" am: f40f36b355

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia1ea9a23c88c6fd7d1b7fc9cda2b29ae3084d020
diff --git a/media/libeffects/lvm/tests/reverb_test.cpp b/media/libeffects/lvm/tests/reverb_test.cpp
index 7cbca9b..b7704ff 100644
--- a/media/libeffects/lvm/tests/reverb_test.cpp
+++ b/media/libeffects/lvm/tests/reverb_test.cpp
@@ -340,7 +340,7 @@
     const int outChannelCount = (channelCount == 1 ? 2 : channelCount);
 
     std::vector<short> in(frameLength * maxChannelCount);
-    std::vector<short> out(frameLength * maxChannelCount);
+    std::vector<short> out(frameLength * outChannelCount);
     std::vector<float> floatIn(frameLength * channelCount);
     std::vector<float> floatOut(frameLength * outChannelCount);