shithub: libvpx

Download patch

ref: 5c5dc733204d494a4b35d34fc0004dc3d958269e
parent: 60beb781c140b61c1957abd2a6717d2e9a831933
parent: 6b2cc75622770fc9481c216789e0a684d7883e06
author: Johann Koenig <johannkoenig@google.com>
date: Wed Mar 14 18:00:08 EDT 2018

Merge "spatial svc: set window_size to 15"

--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -672,6 +672,7 @@
     die("Failed to initialize encoder\n");
 
 #if OUTPUT_RC_STATS
+  rc.window_size = 15;  // Silence a static analysis warning.
   if (svc_ctx.output_rc_stat) {
     set_rate_control_stats(&rc, &enc_cfg);
     framerate = enc_cfg.g_timebase.den / enc_cfg.g_timebase.num;