Index: source/libvpx/vp9/common/vp9_frame_buffers.c |
=================================================================== |
--- source/libvpx/vp9/common/vp9_frame_buffers.c (revision 292072) |
+++ source/libvpx/vp9/common/vp9_frame_buffers.c (working copy) |
@@ -61,6 +61,10 @@ |
if (!int_fb_list->int_fb[i].data) |
return -1; |
+ // 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(int_fb_list->int_fb[i].data, 0, min_size); |
int_fb_list->int_fb[i].size = min_size; |
} |