Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
528bf858
Commit
528bf858
authored
Jan 22, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Jan 22, 2014
Browse files
Merge "Prevent invaid memory access"
parents
4ea56c01
ebe16056
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_encodeframe.c
View file @
528bf858
...
...
@@ -500,7 +500,7 @@ static void update_state(VP9_COMP *cpi, PICK_MODE_CONTEXT *ctx,
if
(
is_inter_block
(
mbmi
)
&&
(
mbmi
->
sb_type
<
BLOCK_8X8
||
mbmi
->
mode
==
NEWMV
))
{
int_mv
best_mv
[
2
];
for
(
i
=
0
;
i
<
2
;
++
i
)
for
(
i
=
0
;
i
<
1
+
has_second_ref
(
mbmi
)
;
++
i
)
best_mv
[
i
].
as_int
=
mbmi
->
ref_mvs
[
mbmi
->
ref_frame
[
i
]][
0
].
as_int
;
vp9_update_mv_count
(
cpi
,
x
,
best_mv
);
}
...
...
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