Commit 051cef4a authored by fbarchard@google.com's avatar fbarchard@google.com

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
parent aeaefa83
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 325
Version: 326
License: BSD
License File: LICENSE
......
......@@ -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
......@@ -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<double>(sum_square_err) /
static_cast<double>(size_min);
printf(", mse %.2f", mse);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment