summaryrefslogtreecommitdiff
path: root/test/vp9_end_to_end_test.cc
diff options
context:
space:
mode:
authorclang-format <noreply@google.com>2016-08-04 19:28:34 -0700
committerJames Zern <jzern@google.com>2016-08-05 20:02:28 -0700
commit9c9d92ae3a7c70adff71e04bae14a1e1394693f5 (patch)
treeec34927f5e0511588cccc2920b4641b57f590d99 /test/vp9_end_to_end_test.cc
parent57f49db81f43df38421091eff3061ba6f9ecd9b1 (diff)
downloadlibvpx-9c9d92ae3a7c70adff71e04bae14a1e1394693f5.tar.gz
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
Diffstat (limited to 'test/vp9_end_to_end_test.cc')
-rw-r--r--test/vp9_end_to_end_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/vp9_end_to_end_test.cc b/test/vp9_end_to_end_test.cc
index e82320f26..168368f5f 100644
--- a/test/vp9_end_to_end_test.cc
+++ b/test/vp9_end_to_end_test.cc
@@ -67,10 +67,11 @@ const int kCpuUsedVectors[] = { 1, 2, 3, 5, 6 };
int is_extension_y4m(const char *filename) {
const char *dot = strrchr(filename, '.');
- if (!dot || dot == filename)
+ if (!dot || dot == filename) {
return 0;
- else
+ } else {
return !strcmp(dot, ".y4m");
+ }
}
class EndToEndTestLarge