]> granicus.if.org Git - libvpx/commitdiff
I420VideoSource: add members to ctor initialization
authorJames Zern <jzern@google.com>
Tue, 10 Jul 2012 00:36:01 +0000 (17:36 -0700)
committerJames Zern <jzern@google.com>
Tue, 10 Jul 2012 00:36:01 +0000 (17:36 -0700)
silences valgrind warnings about uninitialized values in SetSize()

Change-Id: I54c4fdcc246687793393735b213c8777e79e47da

test/i420_video_source.h

index f4717647b622ff6135374d0a9c85c5bae52eaaac..c7362d2b52a613da14acf281fc5952d718c1c7fe 100644 (file)
@@ -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) {