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/decode_test_driver.cc (1 of 11 files). Show all
Unified · Split
| @@ -106,7 +106,7 @@ void DecoderTest::RunLoop(CompressedVideoSource *video, · 105 unmodified lines | |||
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | void DecoderTest::RunLoop(CompressedVideoSource *video) { | 108 | void DecoderTest::RunLoop(CompressedVideoSource *video) { |
| 109 | vpx_codec_dec_cfg_t dec_cfg = {0}; | 109 | vpx_codec_dec_cfg_t dec_cfg = vpx_codec_dec_cfg_t(); |
| 110 | RunLoop(video, dec_cfg); | 110 | RunLoop(video, dec_cfg); |
| 111 | } | 111 | } |
| 112 | 112 | ||