Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Show 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