summaryrefslogtreecommitdiff
path: root/vp8/encoder/firstpass.c
diff options
context:
space:
mode:
authorRalph Giles <giles@xiph.org>2011-03-08 07:14:12 -0800
committerRalph Giles <giles@xiph.org>2011-03-08 07:14:12 -0800
commite6948bf0f975fdb55a2427e798ba449a02f4f131 (patch)
tree5a902c99cb632f35939099eb37afaea0edb7aed2 /vp8/encoder/firstpass.c
parentde87c420ef8b516cfb0983e08dc92696069b7967 (diff)
downloadlibvpx-e6948bf0f975fdb55a2427e798ba449a02f4f131.tar
libvpx-e6948bf0f975fdb55a2427e798ba449a02f4f131.tar.gz
libvpx-e6948bf0f975fdb55a2427e798ba449a02f4f131.tar.bz2
libvpx-e6948bf0f975fdb55a2427e798ba449a02f4f131.zip
Fix a multi-line format-string warning.
GCC 4.5 and 4.6 both issue a warning about the multi-line format string introduced in bc9c30a0, which also changed the whitespace in the associated stt file by line-wrapping the long format string. Instead, use multiple string constants, which the compiler will concatenate. This maintains the original formatting, but remains legible within the standard line length. Change-Id: I27c9f92d46be82d408105a3a4091f145f677e00e
Diffstat (limited to 'vp8/encoder/firstpass.c')
-rw-r--r--vp8/encoder/firstpass.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/encoder/firstpass.c b/vp8/encoder/firstpass.c
index b5470f8f6..d2cc8482e 100644
--- a/vp8/encoder/firstpass.c
+++ b/vp8/encoder/firstpass.c
@@ -312,9 +312,9 @@ void vp8_output_stats(const VP8_COMP *cpi,
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",
+ 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",
stats->frame,
stats->intra_error,
stats->coded_error,