diff options
Diffstat (limited to 'test/vp9_end_to_end_test.cc')
-rw-r--r-- | test/vp9_end_to_end_test.cc | 5 |
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 |