]> granicus.if.org Git - libvpx/blobdiff - rate_hist.c
Add target for Mac OS X 10.11 'El Capitan'
[libvpx] / rate_hist.c
index 1cef19bdd6429decc926bf8c5fe50d0637c6faa9..a77222b16186644caceb6d0ba2c5c08eeee76329 100644 (file)
@@ -88,6 +88,9 @@ void update_rate_histogram(struct rate_hist *hist,
   if (now < cfg->rc_buf_initial_sz)
     return;
 
+  if (!cfg->rc_target_bitrate)
+    return;
+
   then = now;
 
   /* Sum the size over the past rc_buf_sz ms */