projects
/
libvpx
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4453c7
)
Fix uninitialized warning in resize_test.cc
author
Angie Chiang
<angiebird@google.com>
Sat, 14 Nov 2020 02:17:48 +0000
(18:17 -0800)
committer
Angie Chiang
<angiebird@google.com>
Sat, 14 Nov 2020 02:17:48 +0000
(18:17 -0800)
Change-Id: I12a72d3aa57b13dbcbeb037e1deea41529ea4194
test/resize_test.cc
patch
|
blob
|
history
diff --git
a/test/resize_test.cc
b/test/resize_test.cc
index 65b94fa4f6fa661b777b7cca4b825af94436c762..c57170ff9b78b772cb1ae4bbd88b3d8ee1bf0b97 100644
(file)
--- a/
test/resize_test.cc
+++ b/
test/resize_test.cc
@@
-271,8
+271,8
@@
class ResizingVideoSource : public ::libvpx_test::DummyVideoSource {
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);