shithub: libvpx

Download patch

ref: 2157d613c56095de9ec442376b6386ba9fc0e584
parent: 30c669ca87a50a2ef8bda8db552a22087d640071
author: angiebird <angiebird@google.com>
date: Thu Nov 21 06:08:52 EST 2019

Cosmetic change of GetBitrateInKbps

Change-Id: Id4b852cdfba0f6fa1e12a05e2617df0de395be9d

--- a/test/simple_encode_test.cc
+++ b/test/simple_encode_test.cc
@@ -19,7 +19,7 @@
 double GetBitrateInKbps(size_t bit_size, int num_frames, int frame_rate_num,
                         int frame_rate_den) {
   return static_cast<double>(bit_size) / num_frames * frame_rate_num /
-         frame_rate_den / 1000.;
+         frame_rate_den / 1000.0;
 }
 
 TEST(SimpleEncode, ComputeFirstPassStats) {