From 051cef4a0a5190007311dcabe390f9989fcca3c7 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Mon, 27 Aug 2012 19:57:46 +0000 Subject: [PATCH] Compare util show version. (bug fix for Mac) BUG=71 TESTED=xcodebuild -project libyuv_test.xcodeproj -configuration Release Review URL: https://webrtc-codereview.appspot.com/745006 git-svn-id: http://libyuv.googlecode.com/svn/trunk@326 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- util/compare.cc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.chromium b/README.chromium index 79b238bad..307c79eef 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 325 +Version: 326 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 6d09482d3..ddfd102a1 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 325 +#define LIBYUV_VERSION 326 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/util/compare.cc b/util/compare.cc index 26e3078f2..f030c7997 100644 --- a/util/compare.cc +++ b/util/compare.cc @@ -19,7 +19,7 @@ int main(int argc, char** argv) { if (argc < 1) { - printf("libyuv compare v\n", LIBYUV_VERSION); + printf("libyuv compare v%d\n", LIBYUV_VERSION); printf("compare file1.yuv file2.yuv\n"); return -1; } @@ -51,7 +51,7 @@ int main(int argc, char** argv) { printf("hash1 %x", hash1); if (fin2) { - printf(", hash2 %x", hash1, hash2); + printf(", hash2 %x", hash2); double mse = static_cast(sum_square_err) / static_cast(size_min); printf(", mse %.2f", mse);