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
This commit is contained in:
fbarchard@google.com 2012-08-27 19:57:46 +00:00
parent aeaefa8344
commit 051cef4a0a
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 325
Version: 326
License: BSD
License File: LICENSE

View File

@ -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

View File

@ -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);