frame_analyzer: exit with status 1 when video files fail to open

Bug: None
Change-Id: I6da6ee6d3686d97db63f09bd1cfa771ff1bdb403
Reviewed-on: https://webrtc-review.googlesource.com/c/119923
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26402}
This commit is contained in:
Oleh Prypin
2019-01-25 12:08:19 +01:00
committed by Commit Bot
parent a8f9e25778
commit a9316c9445

View File

@ -130,7 +130,7 @@ int main(int argc, char* argv[]) {
if (!reference_video || !test_video) {
fprintf(stderr, "Error opening video files\n");
return 0;
return 1;
}
const std::vector<size_t> matching_indices =