| Index: source/libvpx/vpx_scale/generic/yv12config.c
|
| diff --git a/source/libvpx/vpx_scale/generic/yv12config.c b/source/libvpx/vpx_scale/generic/yv12config.c
|
| index ff49ffb951d3d658e201de5df85528004238e717..169c2ab2d73dc77e83405f02b711ff6dc5a13513 100644
|
| --- a/source/libvpx/vpx_scale/generic/yv12config.c
|
| +++ b/source/libvpx/vpx_scale/generic/yv12config.c
|
| @@ -38,7 +38,7 @@ vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf) {
|
| /* buffer_alloc isn't accessed by most functions. Rather y_buffer,
|
| u_buffer and v_buffer point to buffer_alloc and are used. Clear out
|
| all of this so that a freed pointer isn't inadvertently used */
|
| - vpx_memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG));
|
| + memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG));
|
| } else {
|
| return -1;
|
| }
|
| @@ -128,7 +128,7 @@ int vp9_free_frame_buffer(YV12_BUFFER_CONFIG *ybf) {
|
| /* buffer_alloc isn't accessed by most functions. Rather y_buffer,
|
| u_buffer and v_buffer point to buffer_alloc and are used. Clear out
|
| all of this so that a freed pointer isn't inadvertently used */
|
| - vpx_memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG));
|
| + memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG));
|
| } else {
|
| return -1;
|
| }
|
| @@ -222,7 +222,7 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
|
| // This memset is needed for fixing valgrind error from C loop filter
|
| // due to access uninitialized memory in frame border. It could be
|
| // removed if border is totally removed.
|
| - vpx_memset(ybf->buffer_alloc, 0, ybf->buffer_alloc_sz);
|
| + memset(ybf->buffer_alloc, 0, ybf->buffer_alloc_sz);
|
| }
|
|
|
| /* Only support allocating buffers that have a border that's a multiple
|
|
|