Skip to content

Commit

Permalink
frame_analyzer: exit with status 1 when video files fail to open
Browse files Browse the repository at this point in the history
Bug: None
Change-Id: I6da6ee6d3686d97db63f09bd1cfa771ff1bdb403
Reviewed-on: https://webrtc-review.googlesource.com/c/119923
Reviewed-by: Magnus Jedvert <[email protected]>
Commit-Queue: Oleh Prypin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#26402}
  • Loading branch information
oprypin authored and Commit Bot committed Jan 25, 2019
1 parent a8f9e25 commit a9316c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtc_tools/frame_analyzer/frame_analyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit a9316c9

Please sign in to comment.