Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
64401f83
Commit
64401f83
authored
Jan 29, 2013
by
Ronald S. Bultje
Committed by
Gerrit Code Review
Jan 29, 2013
Browse files
Merge "Fix overread/write reported by valgrind if (mb_cols) & 3 != 0." into experimental
parents
d8e86af2
9dc9f07f
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_alloccommon.c
View file @
64401f83
...
...
@@ -134,7 +134,8 @@ int vp9_alloc_frame_buffers(VP9_COMMON *oci, int width, int height) {
oci
->
prev_mi
=
oci
->
prev_mip
+
oci
->
mode_info_stride
+
1
;
oci
->
above_context
=
vpx_calloc
(
sizeof
(
ENTROPY_CONTEXT_PLANES
)
*
oci
->
mb_cols
,
1
);
oci
->
above_context
=
vpx_calloc
(
sizeof
(
ENTROPY_CONTEXT_PLANES
)
*
(
3
+
oci
->
mb_cols
),
1
);
if
(
!
oci
->
above_context
)
{
vp9_de_alloc_frame_buffers
(
oci
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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