0-initializes [1] and removes a warning for missing initializer fields [1] http://en.cppreference.com/w/cpp/language/value_initialization
Showing the changes to test/encode_test_driver.cc (1 of 11 files). Show all
Unified · Split
| @@ -139,7 +139,7 @@ void EncoderTest::MismatchHook(const vpx_image_t *img1, · 138 unmodified lines | |||
| 139 | } | 139 | } |
| 140 | 140 | ||
| 141 | void EncoderTest::RunLoop(VideoSource *video) { | 141 | void EncoderTest::RunLoop(VideoSource *video) { |
| 142 | vpx_codec_dec_cfg_t dec_cfg = {0}; | 142 | vpx_codec_dec_cfg_t dec_cfg = vpx_codec_dec_cfg_t(); |
| 143 | 143 | ||
| 144 | stats_.Reset(); | 144 | stats_.Reset(); |
| 145 | 145 | ||