shithub: libvpx

Download patch

ref: 4e7fd0273ade37a1f128ad131ed1d6a263f13d22
parent: d4453c73ff9467d5c7cd4ce8b6070dbfa24eff37
author: Angie Chiang <angiebird@google.com>
date: Fri Nov 13 13:17:48 EST 2020

Fix uninitialized warning in resize_test.cc

Change-Id: I12a72d3aa57b13dbcbeb037e1deea41529ea4194

--- a/test/resize_test.cc
+++ b/test/resize_test.cc
@@ -271,8 +271,8 @@
  protected:
   virtual void Next() {
     ++frame_;
-    unsigned int width;
-    unsigned int height;
+    unsigned int width = 0;
+    unsigned int height = 0;
     ScaleForFrameNumber(frame_, kInitialWidth, kInitialHeight, &width, &height,
                         flag_codec_, smaller_width_larger_size_);
     SetSize(width, height);