]> granicus.if.org Git - libvpx/blobdiff - test/user_priv_test.cc
Merge "build/make/configure.sh: Fix armv7 builds in Xcode7."
[libvpx] / test / user_priv_test.cc
index f9aef33daaff818792105a49367df14418ed1178..8512d88cf43d3de988d9854f35dc318585893054 100644 (file)
@@ -47,7 +47,7 @@ string DecodeFile(const string &filename) {
   libvpx_test::WebMVideoSource video(filename);
   video.Init();
 
-  vpx_codec_dec_cfg_t cfg = {0};
+  vpx_codec_dec_cfg_t cfg = vpx_codec_dec_cfg_t();
   libvpx_test::VP9Decoder decoder(cfg, 0);
 
   libvpx_test::MD5 md5;
@@ -78,7 +78,7 @@ string DecodeFile(const string &filename) {
         ref.idx = rnd.Rand8() % 3;
         decoder.Control(VP9_GET_REFERENCE, &ref);
 
-        CheckUserPrivateData(ref.img.user_priv, &frame_num);
+        CheckUserPrivateData(ref.img.user_priv, NULL);
       }
       md5.Add(img);
     }