]> granicus.if.org Git - libvpx/commitdiff
Fix scan_build warnings in convolve_test.cc
authorAngie Chiang <angiebird@google.com>
Wed, 21 Nov 2018 00:33:07 +0000 (16:33 -0800)
committerAngie Chiang <angiebird@google.com>
Wed, 21 Nov 2018 18:40:52 +0000 (10:40 -0800)
Change-Id: I87e1c3f0492cde805b54b048385ea200652dfccc

test/convolve_test.cc

index 29a040abc522ff13756dcf5be5c0df3beccda346..0b718a511e41303a1fbba8bd6737a25ef357b5d7 100644 (file)
@@ -214,6 +214,8 @@ void highbd_filter_block2d_8_c(const uint16_t *src_ptr,
   const int intermediate_next_stride =
       1 - static_cast<int>(intermediate_height * output_width);
 
+  vp9_zero(intermediate_buffer);
+
   // Horizontal pass (src -> transposed intermediate).
   {
     uint16_t *output_ptr = intermediate_buffer;