shithub: libvpx

Download patch

ref: 6daacdb785f34efcf3c8600c65590199e79847d6
parent: ed40ff9e2dfb261db4ab1dd5d5f984a2b59cf936
author: Adrian Grange <agrange@google.com>
date: Thu Mar 10 07:43:49 EST 2011

Added missing format specifier in print statement

Printout of firstpass stats for frame had one fewer
format specifiers than arguments.

Change-Id: I5a42c85aa79c471e1a70afd75e24a91546b7a1cd

--- a/vp8/encoder/firstpass.c
+++ b/vp8/encoder/firstpass.c
@@ -293,13 +293,14 @@
 
 // TEMP debug code
 #if OUTPUT_FPF
+
     {
         FILE *fpfile;
         fpfile = fopen("firstpass.stt", "a");
 
         fprintf(fpfile, "%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.4f %12.4f %12.0f"
-                " %12.4f\n",
+                " %12.4f %12.4f %12.4f %12.4f %12.4f %12.4f %12.4f %12.4f"
+                " %12.0f %12.4f\n",
                 stats->frame,
                 stats->intra_error,
                 stats->coded_error,
--