Fix uninitialized warning in resize_test.cc
Change-Id: I12a72d3aa57b13dbcbeb037e1deea41529ea4194
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user