test: apply clang-tidy google-readability-braces-around-statements

applied against a x86_64 configure with and without
--enable-vp9-highbitdepth

clang-tidy-3.7.1 \
  -checks='-*,google-readability-braces-around-statements' \
  -header-filter='.*' -fix
+ clang-format afterward

Change-Id: Ia2993ec64cf1eb3505d3bfb39068d9e44cfbce8d
This commit is contained in:
clang-format
2016-08-04 19:28:34 -07:00
committed by James Zern
parent 57f49db81f
commit 9c9d92ae3a
28 changed files with 177 additions and 99 deletions

View File

@@ -218,10 +218,11 @@ class RandomVideoSource : public DummyVideoSource {
// than holding previous frames to encourage keyframes to be thrown.
virtual void FillFrame() {
if (img_) {
if (frame_ % 30 < 15)
if (frame_ % 30 < 15) {
for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8();
else
} else {
memset(img_->img_data, 0, raw_sz_);
}
}
}