bit_depth_ was not initialized (used in FillRandom)
and caused valgrind errors.
BUG=webm:1542
Change-Id: I09a9acd54de0dfa4f9006304f45eb20883c9908c
template <typename Pixel>
class AverageTestBase : public ::testing::Test {
public:
- AverageTestBase(int width, int height) : width_(width), height_(height) {}
+ AverageTestBase(int width, int height)
+ : width_(width), height_(height), source_data_(NULL), source_stride_(0),
+ bit_depth_(8) {}
virtual void TearDown() {
vpx_free(source_data_);