Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
7d701684
Commit
7d701684
authored
Oct 04, 2017
by
Sebastien Alaiwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings about dangling 'else'
Change-Id: Ia99815fece27c616b3f284e3b164de0fcba67232
parent
9cc0cfed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
test/convolve_test.cc
test/convolve_test.cc
+3
-1
test/decode_test_driver.cc
test/decode_test_driver.cc
+2
-1
No files found.
test/convolve_test.cc
View file @
7d701684
...
...
@@ -414,7 +414,9 @@ class ConvolveTest : public ::testing::TestWithParam<ConvolveParam> {
void
CheckGuardBlocks
()
{
for
(
int
i
=
0
;
i
<
kOutputBufferSize
;
++
i
)
{
if
(
IsIndexInBorder
(
i
))
EXPECT_EQ
(
255
,
output_
[
i
]);
if
(
IsIndexInBorder
(
i
))
{
EXPECT_EQ
(
255
,
output_
[
i
]);
}
}
}
...
...
test/decode_test_driver.cc
View file @
7d701684
...
...
@@ -59,9 +59,10 @@ void DecoderTest::HandlePeekResult(Decoder *const decoder,
/* Vp8's implementation of PeekStream returns an error if the frame you
* pass it is not a keyframe, so we only expect AOM_CODEC_OK on the first
* frame, which must be a keyframe. */
if
(
video
->
frame_number
()
==
0
)
if
(
video
->
frame_number
()
==
0
)
{
ASSERT_EQ
(
AOM_CODEC_OK
,
res_peek
)
<<
"Peek return failed: "
<<
aom_codec_err_to_string
(
res_peek
);
}
}
else
{
/* The Av1 implementation of PeekStream returns an error only if the
* data passed to it isn't a valid Av1 chunk. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment