Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
15879fb4
Commit
15879fb4
authored
May 03, 2013
by
James Zern
Committed by
Gerrit Code Review
May 03, 2013
Browse files
Merge "vp9/count_segs: fix out of bounds read" into experimental
parents
f0773301
bc3c6d0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_segmentation.c
View file @
15879fb4
...
...
@@ -123,11 +123,12 @@ static void count_segs(VP9_COMP *cpi,
int
bw
,
int
bh
,
int
mi_row
,
int
mi_col
)
{
VP9_COMMON
*
const
cm
=
&
cpi
->
common
;
MACROBLOCKD
*
const
xd
=
&
cpi
->
mb
.
e_mbd
;
const
int
segment_id
=
mi
->
mbmi
.
segment_id
;
int
segment_id
;
if
(
mi_row
>=
cm
->
mi_rows
||
mi_col
>=
cm
->
mi_cols
)
return
;
segment_id
=
mi
->
mbmi
.
segment_id
;
xd
->
mode_info_context
=
mi
;
set_mi_row_col
(
cm
,
xd
,
mi_row
,
bh
,
mi_col
,
bw
);
...
...
Write
Preview
Supports
Markdown
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