ResultsContainer: Initialize fields.

Make msan happier. Prevent flakiness.

Bug: chromium:755660
Bug: webrtc:9767
Change-Id: I911ff9ccc65af3f0a6faf9358a0111f4bf927baa
Reviewed-on: https://webrtc-review.googlesource.com/101361
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24805}
This commit is contained in:
Yves Gerey
2018-09-21 16:19:17 +02:00
committed by Commit Bot
parent 4b9f3908ed
commit 9931ddbbc8

View File

@ -37,11 +37,11 @@ struct ResultsContainer {
~ResultsContainer();
std::vector<AnalysisResult> frames;
int max_repeated_frames;
int max_skipped_frames;
int total_skipped_frames;
int decode_errors_ref;
int decode_errors_test;
int max_repeated_frames = 0;
int max_skipped_frames = 0;
int total_skipped_frames = 0;
int decode_errors_ref = 0;
int decode_errors_test = 0;
};
// A function to run the PSNR and SSIM analysis on the test file. The test file