shithub: libvpx

Download patch

ref: f03627347edfc63fc4127af4cc2aa0f41a32fa91
parent: 5e57729601d0e1d54cde61bd34e5f1d888aa22c8
parent: 2ae314fe3a65a1730dddc46bc8b9ab76fe0fdb57
author: Adrian Grange <agrange@google.com>
date: Thu Feb 19 11:36:43 EST 2015

Merge "Fix control string in firstpass stats fprintf"

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -110,9 +110,9 @@
     FILE *fpfile;
     fpfile = fopen("firstpass.stt", "a");
 
-    fprintf(fpfile, "%12.0f %12.4f %12.0f %12.0f %12.0f %12.4f %12.4f"
-            "%12.4f %12.4f %12.4f %12.4f %12.4f %12.4f %12.4f"
-            "%12.0f %12.0f %12.4f %12.0f %12.0f %12.4f\n",
+    fprintf(fpfile, "%12.0lf %12.4lf %12.0lf %12.0lf %12.0lf %12.4lf %12.4lf"
+            "%12.4lf %12.4lf %12.4lf %12.4lf %12.4lf %12.4lf %12.4lf"
+            "%12.4lf %12.0lf %12.0lf %12.0lf %12.4lf\n",
             stats->frame,
             stats->weight,
             stats->intra_error,