summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2012-07-09 17:36:01 -0700
committerJames Zern <jzern@google.com>2012-07-09 17:36:01 -0700
commit15296c24a6cbaabdccb7a30aa01295a803db6673 (patch)
treebb2fc33a81087de7320de4d1001fe3508741a59e
parenteab09e34e3e3cd0da671b4dbb7fd75e976915fa7 (diff)
downloadlibvpx-15296c24a6cbaabdccb7a30aa01295a803db6673.tar
libvpx-15296c24a6cbaabdccb7a30aa01295a803db6673.tar.gz
libvpx-15296c24a6cbaabdccb7a30aa01295a803db6673.tar.bz2
libvpx-15296c24a6cbaabdccb7a30aa01295a803db6673.zip
I420VideoSource: add members to ctor initialization
silences valgrind warnings about uninitialized values in SetSize() Change-Id: I54c4fdcc246687793393735b213c8777e79e47da
-rw-r--r--test/i420_video_source.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/i420_video_source.h b/test/i420_video_source.h
index f4717647b..c7362d2b5 100644
--- a/test/i420_video_source.h
+++ b/test/i420_video_source.h
@@ -28,6 +28,9 @@ class I420VideoSource : public VideoSource {
img_(NULL),
start_(start),
limit_(limit),
+ frame_(0),
+ width_(0),
+ height_(0),
framerate_numerator_(rate_numerator),
framerate_denominator_(rate_denominator) {