shithub: libvpx

Download patch

ref: 532a42aa52befcb863ff2ecbc38889ac14a6d35c
parent: 41bb11cf7e51c8fa471578817f41aa8f0ea2a406
parent: b2f59340e8645149f0f4d8315d26485bce1a6949
author: Angie Chiang <angiebird@google.com>
date: Wed Nov 21 20:20:18 EST 2018

Merge "Fix scan_build warnings in user_priv_test.cc"

--- a/test/user_priv_test.cc
+++ b/test/user_priv_test.cc
@@ -73,7 +73,7 @@
         CheckUserPrivateData(img->user_priv, &frame_num);
 
         // Also test ctrl_get_reference api.
-        struct vp9_ref_frame ref;
+        struct vp9_ref_frame ref = vp9_ref_frame();
         // Randomly fetch a reference frame.
         ref.idx = rnd.Rand8() % 3;
         decoder.Control(VP9_GET_REFERENCE, &ref);