created with clang-tidy --fix --checks=-*,modernize-use-bool-literals
Change-Id: Ifaed8ca824676555acaf1053b2a5a52c51a70638
if (error_frames_[i] == nframes_ - 1) {
std::cout << " Skipping decoding frame: "
<< error_frames_[i] << "\n";
- return 0;
+ return false;
}
}
}
- return 1;
+ return true;
}
void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) override {
rc_cfg_.layer_target_bitrate[4] = 0;
rc_cfg_.layer_target_bitrate[5] = 0;
ASSERT_TRUE(rc_api_->UpdateRateControl(rc_cfg_));
- } else if (/*DISABLES CODE*/ (0) && video->frame() == 280) {
+ } else if (/*DISABLES CODE*/ (false) && video->frame() == 280) {
// TODO(marpan): Re-enable this going back up when issue is fixed.
// Go back up to 3 spatial layers.
// Update the encoder config: use the original bitrates.