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:
		@@ -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_);
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user