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
06dc2f61
Commit
06dc2f61
authored
Mar 22, 2012
by
Deb Mukherjee
Browse files
Initialize postproc buffer to resolve valgrind warnings
Change-Id: I9a7d40b0eac7200796dbe62e75776b2eb77dfdf6
parent
66ba79f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/common/alloccommon.c
View file @
06dc2f61
...
...
@@ -106,8 +106,8 @@ int vp8_alloc_frame_buffers(VP8_COMMON *oci, int width, int height)
}
oci
->
post_proc_buffer_int_used
=
0
;
vpx_memset
(
&
oci
->
postproc_state
,
0
,
sizeof
(
oci
->
postproc_state
));
vpx_memset
((
&
oci
->
post_proc_buffer
)
->
buffer_alloc
,
128
,(
&
oci
->
post_proc_buffer
)
->
frame_size
);
#endif
oci
->
mb_rows
=
height
>>
4
;
...
...
vp8/common/postproc.c
View file @
06dc2f61
...
...
@@ -737,7 +737,7 @@ int vp8_post_proc_frame(VP8_COMMON *oci, YV12_BUFFER_CONFIG *dest, vp8_ppflags_t
// insure that postproc is set to all 0's so that post proc
// doesn't pull random data in from edge
vpx_memset
((
&
oci
->
post_proc_buffer_int
)
->
buffer_alloc
,
12
6
,(
&
oci
->
post_proc_buffer
)
->
frame_size
);
vpx_memset
((
&
oci
->
post_proc_buffer_int
)
->
buffer_alloc
,
12
8
,(
&
oci
->
post_proc_buffer
)
->
frame_size
);
}
}
...
...
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