diff options
author | James Zern <jzern@google.com> | 2012-07-09 17:36:01 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2012-07-09 17:36:01 -0700 |
commit | 15296c24a6cbaabdccb7a30aa01295a803db6673 (patch) | |
tree | bb2fc33a81087de7320de4d1001fe3508741a59e | |
parent | eab09e34e3e3cd0da671b4dbb7fd75e976915fa7 (diff) | |
download | libvpx-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.h | 3 |
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) { |