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
51e9788e
Commit
51e9788e
authored
Jul 10, 2014
by
hkuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug in boundary checking.
Change-Id: Ifc741da9da6f61c8d3c1f675ec6b8a96570f877d
parent
2d8339ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vp9/common/vp9_reconinter.c
vp9/common/vp9_reconinter.c
+1
-1
No files found.
vp9/common/vp9_reconinter.c
View file @
51e9788e
...
...
@@ -389,7 +389,7 @@ static void dec_build_inter_predictors(MACROBLOCKD *xd, int plane, int block,
}
// Skip border extension if block is inside the frame.
if
(
x0
<
0
||
x0
>
frame_width
-
1
||
x1
<
0
||
x1
>
frame_width
||
if
(
x0
<
0
||
x0
>
frame_width
-
1
||
x1
<
0
||
x1
>
frame_width
-
1
||
y0
<
0
||
y0
>
frame_height
-
1
||
y1
<
0
||
y1
>
frame_height
-
1
)
{
uint8_t
*
buf_ptr1
=
ref_frame
+
y0
*
pre_buf
->
stride
+
x0
;
// Extend the border.
...
...
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