Fix uninitialized warning in resize_test.cc

Change-Id: I12a72d3aa57b13dbcbeb037e1deea41529ea4194
This commit is contained in:
Angie Chiang
2020-11-13 18:17:48 -08:00
parent d4453c73ff
commit 4e7fd0273a

View File

@@ -271,8 +271,8 @@ class ResizingVideoSource : public ::libvpx_test::DummyVideoSource {
protected: protected:
virtual void Next() { virtual void Next() {
++frame_; ++frame_;
unsigned int width; unsigned int width = 0;
unsigned int height; unsigned int height = 0;
ScaleForFrameNumber(frame_, kInitialWidth, kInitialHeight, &width, &height, ScaleForFrameNumber(frame_, kInitialWidth, kInitialHeight, &width, &height,
flag_codec_, smaller_width_larger_size_); flag_codec_, smaller_width_larger_size_);
SetSize(width, height); SetSize(width, height);