Fix mismatched arg bound in CompressAV1()

Change-Id: Iaeea7a81353693c874e4276e435a4bfdd947109b
Reviewed-on: https://chromium-review.googlesource.com/c/codecs/libwebp2/+/3792104
Tested-by: WebM Builds <builds@webmproject.org>
Reviewed-by: Vincent Rabaud <vrabaud@google.com>
diff --git a/extras/aom_utils.cc b/extras/aom_utils.cc
index b69437a..b513867 100644
--- a/extras/aom_utils.cc
+++ b/extras/aom_utils.cc
@@ -971,7 +971,7 @@
 
 WP2Status CompressAV1(const ArgbBuffer& ref, const ParamsAV1& params,
                       ArgbBuffer* const decoded, std::string* const out,
-                      double timing[], std::vector<Rectangle>* const blocks,
+                      double timing[2], std::vector<Rectangle>* const blocks,
                       std::vector<Rectangle>* const transforms,
                       QuantAV1* const quant) {
   if (params.pass < 2) {
@@ -999,7 +999,7 @@
 #else
 
 WP2Status CompressAV1(const ArgbBuffer&, const ParamsAV1&, ArgbBuffer* const,
-                      std::string* const, double[],
+                      std::string* const, double[2],
                       std::vector<Rectangle>* const,
                       std::vector<Rectangle>* const, QuantAV1* const) {
   fprintf(stderr, "CompressAV1: AOM support not enabled at compile time.\n");